diff options
Diffstat (limited to 'src/components/settings/recipes')
-rw-r--r-- | src/components/settings/recipes/RecipesDashboard.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/settings/recipes/RecipesDashboard.js b/src/components/settings/recipes/RecipesDashboard.js index 4f19a6116..2d0d83376 100644 --- a/src/components/settings/recipes/RecipesDashboard.js +++ b/src/components/settings/recipes/RecipesDashboard.js | |||
@@ -28,6 +28,10 @@ const messages = defineMessages({ | |||
28 | id: 'settings.searchService', | 28 | id: 'settings.searchService', |
29 | defaultMessage: 'Search service', | 29 | defaultMessage: 'Search service', |
30 | }, | 30 | }, |
31 | mostPopularRecipes: { | ||
32 | id: 'settings.recipes.mostPopular', | ||
33 | defaultMessage: '!!!Most popular', | ||
34 | }, | ||
31 | allRecipes: { | 35 | allRecipes: { |
32 | id: 'settings.recipes.all', | 36 | id: 'settings.recipes.all', |
33 | defaultMessage: 'All services', | 37 | defaultMessage: 'All services', |
@@ -179,6 +183,14 @@ class RecipesDashboard extends Component { | |||
179 | activeClassName={`${!searchNeedle ? 'badge--primary' : ''}`} | 183 | activeClassName={`${!searchNeedle ? 'badge--primary' : ''}`} |
180 | onClick={() => resetSearch()} | 184 | onClick={() => resetSearch()} |
181 | > | 185 | > |
186 | {intl.formatMessage(messages.mostPopularRecipes)} | ||
187 | </Link> | ||
188 | <Link | ||
189 | to="/settings/recipes/all" | ||
190 | className="badge" | ||
191 | activeClassName={`${!searchNeedle ? 'badge--primary' : ''}`} | ||
192 | onClick={() => resetSearch()} | ||
193 | > | ||
182 | {intl.formatMessage(messages.allRecipes)} | 194 | {intl.formatMessage(messages.allRecipes)} |
183 | </Link> | 195 | </Link> |
184 | <Link | 196 | <Link |