Skip to content

Commit 7ac38c4

Browse files
committed
revert(LeftSidebar): terminal link
1 parent 01f2983 commit 7ac38c4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

components/LeftSidebar.vue

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const appStore = useAppStore()
2020
const nodeStore = useNodeStore()
2121
const modalsStore = useModalsStore()
2222
23-
const developerMode = useCookie("developerMode", { default: () => false })
24-
2523
const head = computed(() => appStore.lastHead)
2624
2725
const mainLinks = reactive([
@@ -155,7 +153,6 @@ const toolsLinks = reactive([
155153
path: "https://terminal.celenium.io",
156154
external: true,
157155
new: true,
158-
hide: !developerMode.value,
159156
},
160157
{
161158
icon: "drop",
@@ -186,15 +183,6 @@ const toolsLinks = reactive([
186183
},
187184
])
188185
189-
/** TEMP */
190-
watch(
191-
() => developerMode.value,
192-
() => {
193-
const terminalLinkIdx = toolsLinks.findIndex((l) => l.name === "Terminal")
194-
toolsLinks[terminalLinkIdx].hide = !developerMode.value
195-
},
196-
)
197-
198186
const handleNavigate = (url) => {
199187
window.location.replace(url)
200188
}

0 commit comments

Comments
 (0)