From e46cfdc0d423d3eb1cfc60fd570544b2112ebf05 Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Tue, 23 Jan 2024 14:10:08 +0100 Subject: [PATCH] (fix) Content disappears until page refresh when moving it between results [SCI-10074] --- app/javascript/vue/results/result.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/vue/results/result.vue b/app/javascript/vue/results/result.vue index 6c9d1b52c..6e2e203d9 100644 --- a/app/javascript/vue/results/result.vue +++ b/app/javascript/vue/results/result.vue @@ -192,7 +192,7 @@ export default { }, watch: { resultToReload() { - if (this.resultToReload === this.result.id) { + if (Number(this.resultToReload) === Number(this.result.id)) { this.loadElements(); this.loadAttachments(); }