From 0c6f962dcc65e61baccb0208094713649767e5b7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Nov 2019 09:12:44 +0100 Subject: [PATCH] Fix instances quota filter --- src/components/InstancesList.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/InstancesList.vue b/src/components/InstancesList.vue index f46528a..088cf0d 100644 --- a/src/components/InstancesList.vue +++ b/src/components/InstancesList.vue @@ -82,19 +82,19 @@ - - - - @@ -393,7 +393,7 @@ themes: [], nsfw: 'no-opinion', languages: [], - quota: '5' + quota: '5000000000' } }, @@ -454,9 +454,13 @@ }, onFormChange () { - console.log('Updating instances list.') + // Wait for v-model to be updated + // https://github.com/vuejs/vue/issues/293#issuecomment-265716984 + setTimeout(() => { + console.log('Updating instances list.') - this.fetchInstances() + this.fetchInstances() + }) }, isQuotaEnabled () {