From 310bce2dcdb5a7015e26cb7d3655809792b0810e Mon Sep 17 00:00:00 2001 From: Kirill Stytsenko <kirill@styts.com> Date: Mon, 28 Feb 2022 11:35:16 +0100 Subject: [PATCH] Fix missing `error` variable in the progress bar Former-commit-id: 8b4e20b4d38a609367e54128f3ed5dac644e0f4a --- fda-ui/components/QueryList.vue | 2 +- fda-ui/components/dialogs/PersistQuery.vue | 2 +- fda-ui/components/dialogs/TimeTravel.vue | 2 +- .../container/_container_id/database/_database_id/info.vue | 2 +- .../database/_database_id/table/_table_id/index.vue | 1 + fda-ui/pages/login.vue | 2 +- fda-ui/pages/signup.vue | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fda-ui/components/QueryList.vue b/fda-ui/components/QueryList.vue index c87533941f..e67154c3ba 100644 --- a/fda-ui/components/QueryList.vue +++ b/fda-ui/components/QueryList.vue @@ -1,6 +1,6 @@ <template> <div> - <v-progress-linear v-if="loading" :indeterminate="!error" /> + <v-progress-linear v-if="loading" /> <v-tabs-items> <v-card v-if="!loading && queries.length === 0" flat> <v-card-title> diff --git a/fda-ui/components/dialogs/PersistQuery.vue b/fda-ui/components/dialogs/PersistQuery.vue index fb3b827801..6900447065 100644 --- a/fda-ui/components/dialogs/PersistQuery.vue +++ b/fda-ui/components/dialogs/PersistQuery.vue @@ -65,7 +65,7 @@ export default { return { formValid: false, loading: false, - error: false, + error: false, // XXX: `error` is never changed visibility: [{ name: 'Public', value: 'EVERYONE' diff --git a/fda-ui/components/dialogs/TimeTravel.vue b/fda-ui/components/dialogs/TimeTravel.vue index 49993afbe0..bca9523227 100644 --- a/fda-ui/components/dialogs/TimeTravel.vue +++ b/fda-ui/components/dialogs/TimeTravel.vue @@ -49,7 +49,7 @@ export default { return { formValid: false, loading: false, - error: false, + error: false, // XXX: `error` is never changed date: null, time: null } diff --git a/fda-ui/pages/container/_container_id/database/_database_id/info.vue b/fda-ui/pages/container/_container_id/database/_database_id/info.vue index 3186fa34dc..f862659eca 100644 --- a/fda-ui/pages/container/_container_id/database/_database_id/info.vue +++ b/fda-ui/pages/container/_container_id/database/_database_id/info.vue @@ -1,7 +1,7 @@ <template> <div v-if="db"> <DBToolbar /> - <v-progress-linear v-if="loading" :indeterminate="!error" /> + <v-progress-linear v-if="loading" /> <v-tabs-items v-if="!loading" v-model="tab"> <v-tab-item> <v-card flat> diff --git a/fda-ui/pages/container/_container_id/database/_database_id/table/_table_id/index.vue b/fda-ui/pages/container/_container_id/database/_database_id/table/_table_id/index.vue index b8b81b0e9a..e860659464 100644 --- a/fda-ui/pages/container/_container_id/database/_database_id/table/_table_id/index.vue +++ b/fda-ui/pages/container/_container_id/database/_database_id/table/_table_id/index.vue @@ -77,6 +77,7 @@ export default { timeMenu: false, pickVersionDialog: null, version: null, + error: false, // XXX: `error` is never changed options: { page: 1, itemsPerPage: 10 diff --git a/fda-ui/pages/login.vue b/fda-ui/pages/login.vue index e9a1dd3e85..f134c7e051 100644 --- a/fda-ui/pages/login.vue +++ b/fda-ui/pages/login.vue @@ -57,7 +57,7 @@ export default { data () { return { loading: false, - error: false, + error: false, // XXX: `error` is never changed valid: false, loginAccount: { username: null, diff --git a/fda-ui/pages/signup.vue b/fda-ui/pages/signup.vue index 7dd77d9331..2dbc89fad8 100644 --- a/fda-ui/pages/signup.vue +++ b/fda-ui/pages/signup.vue @@ -91,7 +91,7 @@ export default { data () { return { loading: false, - error: false, + error: false, // XXX: `error` is never changed valid: false, privacy: false, consent: false, -- GitLab