init
This commit is contained in:
@@ -3,6 +3,7 @@ import {storeToRefs} from 'pinia'
|
||||
import {useServerStore} from '@/stores/server'
|
||||
import {ref} from 'vue'
|
||||
import {useRouter} from 'vue-router'
|
||||
import ContextMenu from "@/components/ContextMenu.vue";
|
||||
|
||||
const serverStore = useServerStore()
|
||||
const router = useRouter()
|
||||
@@ -74,7 +75,7 @@ const getServerColor = (str: string): string => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-app>
|
||||
<v-app @contextmenu.prevent>
|
||||
<!--Top bar-->
|
||||
<v-system-bar>
|
||||
|
||||
@@ -127,7 +128,8 @@ const getServerColor = (str: string): string => {
|
||||
|
||||
</v-navigation-drawer>
|
||||
<router-view/>
|
||||
|
||||
<!-- Menu contextuel global -->
|
||||
<ContextMenu/>
|
||||
<v-dialog v-model="showDialog" width="400">
|
||||
<v-card>
|
||||
<v-card-title>Create Server</v-card-title>
|
||||
|
||||
Reference in New Issue
Block a user