Import, set actual supported things we want to import

This commit is contained in:
2022-03-23 16:58:37 +00:00
parent ad4669ccb8
commit 61d8e30738
2 changed files with 6 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control
//DEVELOPMENT MODE
//THIS SHOULD BE FALSE IN RELEASE
//************************************************************
const DEV_MODE = false;
const DEV_MODE = true;
//************************************************************
//**************************************************************
//**************************************************************

View File

@@ -5,7 +5,7 @@
<v-select
ref="ayaType"
v-model="ayaType"
:items="selectLists.coreAyaTypes"
:items="selectLists.importableAyaTypes"
item-text="name"
item-value="id"
:label="$ay.t('AyaType')"
@@ -49,7 +49,7 @@ export default {
data() {
return {
selectLists: {
coreAyaTypes: []
importableAyaTypes: []
},
uploadFiles: [],
ayaType: 0,
@@ -156,6 +156,8 @@ async function fetchTranslatedText() {
//
async function populateSelectionLists(vm) {
await window.$gz.enums.fetchEnumList("importable");
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("importable");
vm.selectLists.importableAyaTypes = window.$gz.enums.getSelectionList(
"importable"
);
}
</script>