@@ -8,6 +8,7 @@
|
||||
|
||||
@update-columns-selected="updateColumnsSelected"
|
||||
/>
|
||||
<IndexControls />
|
||||
|
||||
<SimpleSearch
|
||||
:columns="settings.employeesIndexColumnsSelected"
|
||||
@@ -57,6 +58,7 @@
|
||||
<script setup lang="ts">
|
||||
import SimpleSearch from '@/components/Employees/SimpleSearch.vue';
|
||||
import IndexSettingsModal from '@/components/Employees/IndexSettingsModal.vue';
|
||||
import IndexControls from '@/components/Employees/IndexControls.vue';
|
||||
import VPaginator from '@/components/VPaginator.vue';
|
||||
import { onMounted, reactive, computed } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
@@ -77,6 +79,7 @@ const sort_by = reactive({
|
||||
})
|
||||
|
||||
onMounted(async () =>{
|
||||
console.log("Employees Index onMounted")
|
||||
await store.fetchFromApi()
|
||||
await settingsStore.fetchFromApi()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user