From cae57e2a64afbd86402ec3f3c6161c40bc78b5a2 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Fri, 3 Nov 2023 16:31:58 +0100 Subject: [PATCH] Ensure we get a fresh response --- lib/www/client/source/src/views/ProjectSettings.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/www/client/source/src/views/ProjectSettings.vue b/lib/www/client/source/src/views/ProjectSettings.vue index 122837c..72c1ba2 100644 --- a/lib/www/client/source/src/views/ProjectSettings.vue +++ b/lib/www/client/source/src/views/ProjectSettings.vue @@ -504,7 +504,12 @@ export default { async getConfiguration () { this.configuration = null; const url = `/project/${this.$route.params.project}/configuration`; - this.configuration = await this.api([url]); + const init = { + headers: { + "If-None-Match": "" // Ensure we get a fresh response + } + }; + this.configuration = await this.api([url, init]); }, makeTree (obj, id=0) {