mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Wait for general entites to load
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
e3f5bd219b
commit
c4c5a18e9e
@ -103,8 +103,11 @@ export class Catalog extends React.Component<Props> {
|
||||
Notifications.error(<p>Unknown category: {routeTab}</p>);
|
||||
}
|
||||
}, {fireImmediately: true}),
|
||||
|
||||
reaction(() => catalogEntityRegistry.getById("catalog-entity"), () => {
|
||||
this.setActiveEntity();
|
||||
}, {fireImmediately: true})
|
||||
]);
|
||||
this.setActiveEntity();
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user