fix menù
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user