From 4d5a93eff5196c3b83fa97c939240a0364d45ac9 Mon Sep 17 00:00:00 2001 From: Corey Ogburn Date: Mon, 1 Apr 2024 12:52:25 -0600 Subject: [PATCH] Prepare Detection After Save The UI needs to process a few things when receiving a fresh detection on save or the next save will fail. --- html/js/routes/detection.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/js/routes/detection.js b/html/js/routes/detection.js index edff63162..fe55cbf36 100644 --- a/html/js/routes/detection.js +++ b/html/js/routes/detection.js @@ -629,7 +629,10 @@ routes.push({ path: '/detection/:id', name: 'detection', component: { } this.detect = response.data; + delete this.detect.kind; + this.tagOverrides(); + this.loadAssociations(); this.origDetect = Object.assign({}, this.detect); // reinstate expanded override