Webapp: import notifications on job details component

Errors getting worker tags were logged in the notifications area, but the
notifications Piña store weren't actually imported, causing a JS error.
This commit is contained in:
Sybren A. Stüvel 2023-08-17 16:29:08 +02:00
parent e231f6f221
commit 089bae5bf9

View File

@ -97,6 +97,7 @@ import TabsWrapper from '@/components/TabsWrapper.vue'
import PopoverEditableJobPriority from '@/components/PopoverEditableJobPriority.vue' import PopoverEditableJobPriority from '@/components/PopoverEditableJobPriority.vue'
import { copyElementText, copyElementData } from '@/clipboard'; import { copyElementText, copyElementData } from '@/clipboard';
import { useWorkers } from '@/stores/workers' import { useWorkers } from '@/stores/workers'
import { useNotifs } from '@/stores/notifications';
export default { export default {
props: [ props: [
@ -123,6 +124,7 @@ export default {
jobTypeSettings: null, // Mapping from setting key to its definition in the job type. jobTypeSettings: null, // Mapping from setting key to its definition in the job type.
showAllSettings: false, showAllSettings: false,
workers: useWorkers(), workers: useWorkers(),
notifs: useNotifs(),
}; };
}, },
mounted() { mounted() {