Skip to content

Commit 1ebe1a1

Browse files
committed
fix: update data assignment in getData function to access data property
1 parent bd91157 commit 1ebe1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/List.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const toast = useToast();
7979
const listData = ref([]);
8080
const getData = async () => {
8181
loading.value = true;
82-
listData.value = await getAllDataWithFallback(toast);
82+
listData.value = (await getAllDataWithFallback(toast)).data;
8383
loading.value = false;
8484
};
8585

0 commit comments

Comments
 (0)