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
|
//DEVELOPMENT MODE
|
||||||
//THIS SHOULD BE FALSE IN RELEASE
|
//THIS SHOULD BE FALSE IN RELEASE
|
||||||
//************************************************************
|
//************************************************************
|
||||||
const DEV_MODE = false;
|
const DEV_MODE = true;
|
||||||
//************************************************************
|
//************************************************************
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<v-select
|
<v-select
|
||||||
ref="ayaType"
|
ref="ayaType"
|
||||||
v-model="ayaType"
|
v-model="ayaType"
|
||||||
:items="selectLists.coreAyaTypes"
|
:items="selectLists.importableAyaTypes"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
:label="$ay.t('AyaType')"
|
:label="$ay.t('AyaType')"
|
||||||
@@ -49,7 +49,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectLists: {
|
selectLists: {
|
||||||
coreAyaTypes: []
|
importableAyaTypes: []
|
||||||
},
|
},
|
||||||
uploadFiles: [],
|
uploadFiles: [],
|
||||||
ayaType: 0,
|
ayaType: 0,
|
||||||
@@ -156,6 +156,8 @@ async function fetchTranslatedText() {
|
|||||||
//
|
//
|
||||||
async function populateSelectionLists(vm) {
|
async function populateSelectionLists(vm) {
|
||||||
await window.$gz.enums.fetchEnumList("importable");
|
await window.$gz.enums.fetchEnumList("importable");
|
||||||
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("importable");
|
vm.selectLists.importableAyaTypes = window.$gz.enums.getSelectionList(
|
||||||
|
"importable"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user