From 089bae5bf905b9b7227d4900a8ba97ed82c68e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 17 Aug 2023 16:29:08 +0200 Subject: [PATCH] Webapp: import notifications on job details component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Errors getting worker tags were logged in the notifications area, but the notifications PiƱa store weren't actually imported, causing a JS error. --- web/app/src/components/jobs/JobDetails.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/src/components/jobs/JobDetails.vue b/web/app/src/components/jobs/JobDetails.vue index 55ca5d08..eefd65f5 100644 --- a/web/app/src/components/jobs/JobDetails.vue +++ b/web/app/src/components/jobs/JobDetails.vue @@ -97,6 +97,7 @@ import TabsWrapper from '@/components/TabsWrapper.vue' import PopoverEditableJobPriority from '@/components/PopoverEditableJobPriority.vue' import { copyElementText, copyElementData } from '@/clipboard'; import { useWorkers } from '@/stores/workers' +import { useNotifs } from '@/stores/notifications'; export default { props: [ @@ -123,6 +124,7 @@ export default { jobTypeSettings: null, // Mapping from setting key to its definition in the job type. showAllSettings: false, workers: useWorkers(), + notifs: useNotifs(), }; }, mounted() {