RE Single class scenarios picklist
This commit is contained in:
@@ -10,6 +10,7 @@ export const UserPrefStore = defineStore('userpref_store', () => {
|
||||
const userLoaded = ref(false)
|
||||
const selectedApp = ref(null)
|
||||
const loadingStore = LoadingStore()
|
||||
const selectedFileRE = ref(null)
|
||||
|
||||
|
||||
async function fetchUserData(){
|
||||
@@ -61,6 +62,10 @@ export const UserPrefStore = defineStore('userpref_store', () => {
|
||||
}
|
||||
});
|
||||
|
||||
async function setSelectedFile(file){
|
||||
selectedFileRE.value = file;
|
||||
}
|
||||
|
||||
const getSelProj = computed(() => {
|
||||
return selectedProject.value
|
||||
})
|
||||
@@ -68,8 +73,12 @@ export const UserPrefStore = defineStore('userpref_store', () => {
|
||||
const getSelApp = computed(() => {
|
||||
return selectedApp.value
|
||||
})
|
||||
|
||||
const getSelFile = computed(() => {
|
||||
return selectedFileRE.value
|
||||
})
|
||||
|
||||
|
||||
|
||||
return { user,fetchUserData,userLoaded,selectedProject,availableApp,getSelApp,setSelectedApp,selectedApp, updateSelectedProject,getSelProj }
|
||||
return {getSelFile, user,selectedFileRE,fetchUserData,userLoaded,selectedProject,availableApp,getSelApp,setSelectedApp,selectedApp, updateSelectedProject,getSelProj, setSelectedFile }
|
||||
})
|
||||
Reference in New Issue
Block a user