aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-12 14:50:41 +0000
committerLibravatar GitHub <noreply@github.com>2021-08-12 20:20:41 +0530
commit10e706230f11606a83a86837c820a6c338d29a4f (patch)
tree9862aaae7d6a3a0be97bfda68739d3036f0f7848 /src/components
parentUpdate recipes for bringing in darkmode support for: (diff)
downloadferdium-app-10e706230f11606a83a86837c820a6c338d29a4f.tar.gz
ferdium-app-10e706230f11606a83a86837c820a6c338d29a4f.tar.zst
ferdium-app-10e706230f11606a83a86837c820a6c338d29a4f.zip
Services now support aliases!!!! (#1774)
Users can now search for the services not only based on the name, but also the alias (partial match, case-insensitive), when adding new services. fixes #1614, #1615, #1291
Diffstat (limited to 'src/components')
-rw-r--r--src/components/settings/recipes/RecipeItem.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/settings/recipes/RecipeItem.js b/src/components/settings/recipes/RecipeItem.js
index 12e3775f6..55f415bd5 100644
--- a/src/components/settings/recipes/RecipeItem.js
+++ b/src/components/settings/recipes/RecipeItem.js
@@ -28,6 +28,11 @@ export default @observer class RecipeItem extends Component {
28 alt="" 28 alt=""
29 /> 29 />
30 <span className="recipe-teaser__label">{recipe.name}</span> 30 <span className="recipe-teaser__label">{recipe.name}</span>
31 {recipe.aliases && recipe.aliases.length > 0 && (
32 <span className="recipe-teaser__alias_label">
33 {`Aliases: ${recipe.aliases.join(', ')}`}
34 </span>
35 )}
31 </button> 36 </button>
32 ); 37 );
33 } 38 }