Pagination prepsano do inteligentnejsi composable

This commit is contained in:
Michal Kváček
2024-03-09 23:16:37 +01:00
parent 883b4fa97f
commit 5cff3580b0
16 changed files with 56 additions and 45 deletions
+4 -1
View File
@@ -6,9 +6,12 @@ import BasicListSkeleton from "components/basicSkeletons/BasicListSkeleton.vue";
import BasicInfoBanner from "components/banners/BasicInfoBanner.vue";
import {useCopilotsStore} from "stores/Copilots";
import {storeToRefs} from "pinia";
import {onMounted} from "vue";
useCopilotsStore().fetch();
useAppStore().setPageTitle("Spolucestující");
onMounted(() => {
useCopilotsStore().fetch();
});
const {isQueryRunning, copilots} = storeToRefs(useCopilotsStore());
</script>