mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
TopBar home icon (#3740)
* Adding home button Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Highlight catalog entity on route match Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Wait for general entites to load Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding WelcomePage catalog entity Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Highlight general entities in hotbar if their route matches Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing tests Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Moving active entities sync to helper function Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fix welcome page test Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
995cdac328
commit
16c4656a7d
8 files changed
+102
-4
No files matched your search
@@ -76,6 +76,10 @@ export class CatalogCategoryRegistry {
|
||||
|
||||
return this.getForGroupKind(group, data.kind);
|
||||
}
|
||||
|
||||
getByName(name: string) {
|
||||
return this.items.find(category => category.metadata?.name == name);
|
||||
}
|
||||
}
|
||||
|
||||
export const catalogCategoryRegistry = new CatalogCategoryRegistry();
|
||||
Reference in new issue
Block a user