fix: display selected source label in skills catalog dropdown (#1270)
Co-authored-by: artac <artac@artacs-MacBook-Pro.local>
This commit is contained in:
committed by
GitHub
co-authored by
artac
parent
b79a40adce
commit
81cb31f1fd
@@ -199,7 +199,9 @@ export const SkillsCatalogPage: React.FC<SkillsCatalogPageProps> = ({ mode, onMo
|
||||
onValueChange={(v) => setSelectedSource(v)}
|
||||
>
|
||||
<SelectTrigger className="w-fit">
|
||||
<SelectValue placeholder={t('settings.skills.catalog.page.field.selectSourcePlaceholder')} />
|
||||
<SelectValue placeholder={t('settings.skills.catalog.page.field.selectSourcePlaceholder')}>
|
||||
{selectedSource?.label}
|
||||
</SelectValue>
|
||||
</SelectTrigger>
|
||||
<SelectContent align="start">
|
||||
{sources.map((src) => (
|
||||
|
||||
Reference in New Issue
Block a user