Import, set actual supported things we want to import
This commit is contained in:
@@ -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;
|
||||
//************************************************************
|
||||
//**************************************************************
|
||||
//**************************************************************
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user