From a8c660394f0f0901de48fd6befe45e2882aef34c Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 13 Sep 2023 14:34:49 +0200 Subject: [PATCH] Fix archive/restore results [SCI-9296] --- app/javascript/vue/results/results.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/vue/results/results.vue b/app/javascript/vue/results/results.vue index 5f6e1a16c..b0d2f1b7e 100644 --- a/app/javascript/vue/results/results.vue +++ b/app/javascript/vue/results/results.vue @@ -121,7 +121,7 @@ $('.result-wrapper .collapse').collapse('hide') }, removeResult(result_id) { - this.results = this.results.filter((r) => r.attributes.id != result_id); + this.results = this.results.filter((r) => r.id != result_id); } } }