Changed STore Type and corrected all Pages
Added HistoryDisplay.vue Added NumberRanges
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<UButton @click="router.push(`/jobs/create/`)">+ Job</UButton>
|
||||
|
||||
<UTable
|
||||
:rows="jobs"
|
||||
:rows="dataStore.jobs"
|
||||
:columns="columns"
|
||||
@select="selectJob"
|
||||
:empty-state="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Noch keine Einträge' }"
|
||||
@@ -19,8 +19,8 @@ definePageMeta({
|
||||
middleware: "auth"
|
||||
})
|
||||
|
||||
const dataStore = useDataStore()
|
||||
const router = useRouter()
|
||||
const {jobs } = storeToRefs(useDataStore())
|
||||
const mode = ref("show")
|
||||
|
||||
const columns = [
|
||||
|
||||
Reference in New Issue
Block a user