mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Extract CatalogEntityDetails to seperate root component
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
f92da1796e
commit
c0f439d887
14 files changed
+330
-156
No files matched your search
@@ -34,6 +34,10 @@ export class CatalogCategoryRegistry {
|
||||
};
|
||||
}
|
||||
|
||||
getById(id: string) {
|
||||
return iter.find(this.categories.values(), (category) => category.getId() === id);
|
||||
}
|
||||
|
||||
@computed get items() {
|
||||
return Array.from(this.categories);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user