mirror of
https://github.com/grafana/grafana.git
synced 2024-12-23 15:40:19 -06:00
Catalog: set library as active tab when viewing (#34753)
This commit is contained in:
parent
515c73d8e6
commit
6f652e39cb
@ -14,7 +14,7 @@ export const Library = ({ meta, onNavChanged, basename }: AppRootProps) => {
|
||||
const styles = useStyles2(getStyles);
|
||||
|
||||
useEffect(() => {
|
||||
onNavChanged(getCatalogNavModel(CatalogTab.Browse, basename));
|
||||
onNavChanged(getCatalogNavModel(CatalogTab.Library, basename));
|
||||
}, [onNavChanged, basename]);
|
||||
|
||||
const filteredPlugins = items.filter((plugin) => !!installedPlugins.find((_) => _.id === plugin.slug));
|
||||
|
Loading…
Reference in New Issue
Block a user