Browse Source

chore(gui-v2): lint files

pull/2716/head
Braks 2 years ago committed by Pranav C
parent
commit
e60341caaa
  1. 9
      packages/nc-gui-v2/layouts/default.vue

9
packages/nc-gui-v2/layouts/default.vue

@ -1,14 +1,23 @@
<script lang="ts" setup> <script lang="ts" setup>
import { navigateTo } from '#app' import { navigateTo } from '#app'
const route = useRoute() const route = useRoute()
const openDiscord = () => { const openDiscord = () => {
// shell.openExternal('https://discord.gg/5RgZmkW') // shell.openExternal('https://discord.gg/5RgZmkW')
} }
const isDashboard = computed(() => { const isDashboard = computed(() => {
return route.path && (route.path === '/nc' || route.path === '/nc/' || route.path.startsWith('/nc/')) return route.path && (route.path === '/nc' || route.path === '/nc/' || route.path.startsWith('/nc/'))
}) })
</script> </script>
<script lang="ts">
export default {
name: 'Default',
}
</script>
<template> <template>
<v-app> <v-app>
<slot name="header"> <slot name="header">

Loading…
Cancel
Save