diff --git a/availabili.tf/src/components/Loader.vue b/availabili.tf/src/components/Loader.vue new file mode 100644 index 0000000..2322c4f --- /dev/null +++ b/availabili.tf/src/components/Loader.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/availabili.tf/src/components/LoaderContainer.vue b/availabili.tf/src/components/LoaderContainer.vue new file mode 100644 index 0000000..3b25141 --- /dev/null +++ b/availabili.tf/src/components/LoaderContainer.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/availabili.tf/src/stores/roster.ts b/availabili.tf/src/stores/roster.ts index 56163fe..8200e59 100644 --- a/availabili.tf/src/stores/roster.ts +++ b/availabili.tf/src/stores/roster.ts @@ -111,7 +111,7 @@ export const useRosterStore = defineStore("roster", () => { } function fetchAvailablePlayers(startTime: number, teamId: number) { - clientStore.call( + return clientStore.call( fetchAvailablePlayers.name, () => client.default.viewAvailableAtTime(startTime.toString(), teamId), (response) => { diff --git a/availabili.tf/src/views/RosterBuilderView.vue b/availabili.tf/src/views/RosterBuilderView.vue index d0897dc..a341c47 100644 --- a/availabili.tf/src/views/RosterBuilderView.vue +++ b/availabili.tf/src/views/RosterBuilderView.vue @@ -1,18 +1,22 @@