diff --git a/web/components/Loading/Bar.vue b/web/components/Loading/Bar.vue new file mode 100644 index 0000000000..c5a025fe4a --- /dev/null +++ b/web/components/Loading/Bar.vue @@ -0,0 +1,12 @@ + + diff --git a/web/components/Loading/Error.vue b/web/components/Loading/Error.vue new file mode 100644 index 0000000000..ff79ab312b --- /dev/null +++ b/web/components/Loading/Error.vue @@ -0,0 +1,55 @@ + + diff --git a/web/components/Loading/Spinner.vue b/web/components/Loading/Spinner.vue new file mode 100644 index 0000000000..144324d7c7 --- /dev/null +++ b/web/components/Loading/Spinner.vue @@ -0,0 +1,19 @@ + + diff --git a/web/components/Notifications/List.vue b/web/components/Notifications/List.vue index 255069f2c3..013a7b162f 100644 --- a/web/components/Notifications/List.vue +++ b/web/components/Notifications/List.vue @@ -28,7 +28,7 @@ watch(props, () => { canLoadMore.value = true; }); -const { result, error, fetchMore } = useQuery(getNotifications, () => ({ +const { result, error, loading, fetchMore, refetch } = useQuery(getNotifications, () => ({ filter: { offset: 0, limit: props.pageSize, @@ -69,10 +69,6 @@ async function onLoadMore() {