mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
simplify things
This commit is contained in:
@@ -56,7 +56,7 @@ export function useLeftMenu() {
|
||||
|
||||
const {t} = useI18n({useScope: "global"});
|
||||
|
||||
const miscStore = useMiscStore();
|
||||
const configs = useMiscStore().configs;
|
||||
|
||||
/**
|
||||
* Returns the names of all registered routes whose name starts with the given prefix.
|
||||
@@ -178,7 +178,7 @@ export function useLeftMenu() {
|
||||
icon: {
|
||||
element: ContentCopy, // TODO: Consider changing the icon for this
|
||||
},
|
||||
hidden: !miscStore.configs?.isTemplateEnabled,
|
||||
hidden: !configs?.isTemplateEnabled,
|
||||
},
|
||||
{
|
||||
title: t("plugins.names"),
|
||||
|
||||
Reference in New Issue
Block a user