[UI] version page
This commit is contained in:
@@ -38,8 +38,10 @@ import { computed, onMounted, reactive } from 'vue';
|
||||
import EssentialLink, { EssentialLinkProps } from 'components/EssentialLink.vue';
|
||||
import DomainSelector from 'components/DomainSelector.vue';
|
||||
import { useAuthStore } from 'stores/useAuthStore';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
const authStore = useAuthStore();
|
||||
const route = useRoute()
|
||||
const noDomain = computed(() => !authStore.hasDomain);
|
||||
|
||||
const essentialLinks: EssentialLinkProps[] = reactive([
|
||||
@@ -128,7 +130,7 @@ const version = process.env.version;
|
||||
const productName = process.env.productName;
|
||||
|
||||
onMounted(() => {
|
||||
authStore.setLeftMenu(true);
|
||||
authStore.setLeftMenu(!route.path.startsWith('/FlowChart/'));
|
||||
});
|
||||
|
||||
function toggleLeftDrawer() {
|
||||
|
||||
Reference in New Issue
Block a user