diff options
author | kytwb <kytwb@pm.me> | 2022-01-01 23:25:02 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2022-01-01 23:25:02 +0100 |
commit | 4c5126a6fd2f1c048936ad64f4f4bb24c1aa2a9b (patch) | |
tree | 866c44aa663855d789e3ce2e5598ea61bf5ded02 /src/components/settings/recipes | |
parent | #329 Remove blocking listener before autoUpdater.quitAndInstall (diff) | |
download | ferdium-app-4c5126a6fd2f1c048936ad64f4f4bb24c1aa2a9b.tar.gz ferdium-app-4c5126a6fd2f1c048936ad64f4f4bb24c1aa2a9b.tar.zst ferdium-app-4c5126a6fd2f1c048936ad64f4f4bb24c1aa2a9b.zip |
Revert "Removed 'Most Popular' services since it alludes to user-tracking (#1718)"
This reverts commit 1c1b3e1f1a30745dd95db4172483821306fce4bc.
# Conflicts:
# src/i18n/locales/defaultMessages.json
# src/i18n/locales/fa.json
# src/i18n/locales/fi.json
# src/i18n/locales/fr.json
# src/i18n/locales/hi.json
# src/i18n/locales/it.json
# src/i18n/locales/nb.json
# src/i18n/locales/pt-BR.json
# src/i18n/locales/ru.json
# src/i18n/locales/si.json
# src/i18n/locales/sk.json
# src/i18n/locales/sv.json
# src/i18n/locales/te.json
# src/i18n/locales/tr.json
# src/i18n/locales/uk.json
# src/i18n/locales/vi.json
# src/i18n/locales/zh.json
# src/i18n/messages/src/components/settings/recipes/RecipesDashboard.json
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 |