fix menù

This commit is contained in:
Florinda
2024-10-24 14:23:38 +02:00
parent 29de8bdb6f
commit 2246e87e75
2 changed files with 11 additions and 5 deletions

View File

@@ -29,13 +29,20 @@ import FileFlowViewer from '@/components/FileFlowViewer.vue';
import { ApplicationCodeService } from '@/service/ApplicationCodeService';
import Tree from 'primevue/tree';
import { onMounted, ref } from 'vue';
import { UserPrefStore } from '../../stores/UserPrefStore.js';
const nodes = ref(null)
const expandedKeys = ref({});
const selectedFile = ref({})
const application=ref("ATF-Notifier")
const userPrefStore = UserPrefStore();
const selectedApp = userPrefStore.getSelApp;
const application=ref(selectedApp.fe_name)
onMounted(() => {
console.log("Mounted")
ApplicationCodeService.getApplication('ATF-Notifier').then(response => {
ApplicationCodeService.getApplication(selectedApp.internal_name).then(response => {
var tmp = []
tmp.push(response.data)
nodes.value = tmp