Skip to content

Commit

Permalink
fix(fe): disable view tabs during loading data
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Oct 28, 2021
1 parent 91b7c30 commit 3514323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web2/src/views/project/Templates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@
</v-toolbar>

<v-tabs show-arrows class="pl-4" v-model="viewTab">
<v-tab :to="getViewUrl(null)">All</v-tab>
<v-tab :to="getViewUrl(null)" :disabled="viewItemsLoading">All</v-tab>

<v-tab
v-for="(view) in views"
:key="view.id"
:to="getViewUrl(view.id)"
:disabled="viewItemsLoading"
>{{ view.title }}
</v-tab>

Expand Down

0 comments on commit 3514323

Please sign in to comment.