diff options
author | 2021-12-14 21:15:54 +0100 | |
---|---|---|
committer | 2021-12-14 21:15:54 +0100 | |
commit | 0f7eb05ae12d9485ac14d3d5ca575fe3182569f1 (patch) | |
tree | d69ce309a2d3d24ee2a32f119e88ca0ecb337acd | |
parent | Simpify services empty state text (diff) | |
download | ferdium-app-0f7eb05ae12d9485ac14d3d5ca575fe3182569f1.tar.gz ferdium-app-0f7eb05ae12d9485ac14d3d5ca575fe3182569f1.tar.zst ferdium-app-0f7eb05ae12d9485ac14d3d5ca575fe3182569f1.zip |
Iterate on recipes empty state
-rw-r--r-- | src/components/settings/recipes/RecipesDashboard.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/components/settings/recipes/RecipesDashboard.js b/src/components/settings/recipes/RecipesDashboard.js index d3c84571a..0ba295369 100644 --- a/src/components/settings/recipes/RecipesDashboard.js +++ b/src/components/settings/recipes/RecipesDashboard.js | |||
@@ -248,14 +248,6 @@ class RecipesDashboard extends Component { | |||
248 | </div> | 248 | </div> |
249 | {recipes.length === 0 && recipeFilter !== 'dev' && ( | 249 | {recipes.length === 0 && recipeFilter !== 'dev' && ( |
250 | <div className="align-middle settings__empty-state"> | 250 | <div className="align-middle settings__empty-state"> |
251 | <span className="emoji"> | ||
252 | <img src="./assets/images/emoji/dontknow.png" alt="" /> | ||
253 | </span> | ||
254 | |||
255 | <p className="settings__empty-state-text"> | ||
256 | {intl.formatMessage(messages.nothingFound)} | ||
257 | </p> | ||
258 | |||
259 | {customWebsiteRecipe && customWebsiteRecipe.id && ( | 251 | {customWebsiteRecipe && customWebsiteRecipe.id && ( |
260 | <RecipeItem | 252 | <RecipeItem |
261 | key={customWebsiteRecipe.id} | 253 | key={customWebsiteRecipe.id} |
@@ -268,6 +260,9 @@ class RecipesDashboard extends Component { | |||
268 | } | 260 | } |
269 | /> | 261 | /> |
270 | )} | 262 | )} |
263 | <p className="settings__empty-state-text"> | ||
264 | {intl.formatMessage(messages.nothingFound)} | ||
265 | </p> | ||
271 | </div> | 266 | </div> |
272 | )} | 267 | )} |
273 | {recipeFilter === 'dev' && devRecipes.length > 0 && ( | 268 | {recipeFilter === 'dev' && devRecipes.length > 0 && ( |