Ensure we get a fresh response

This commit is contained in:
D. Berge
2023-11-03 16:31:58 +01:00
parent cd739e603f
commit cae57e2a64

View File

@@ -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) {