mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 17:22:15 +01:00
use tanstack query in ProjectMultiselectDropdown, ClientTableRow and ProjectDropdown; fix e2e
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import MultiselectDropdown from '@/packages/ui/src/Input/MultiselectDropdown.vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useProjectsStore } from '@/utils/useProjects';
|
||||
import { useProjectsQuery } from '@/utils/useProjectsQuery';
|
||||
import type { Project } from '@/packages/api/src';
|
||||
|
||||
const projectsStore = useProjectsStore();
|
||||
const { projects } = storeToRefs(projectsStore);
|
||||
const { projects } = useProjectsQuery();
|
||||
|
||||
function getKeyFromItem(item: Project) {
|
||||
return item.id;
|
||||
|
||||
Reference in New Issue
Block a user