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:
parent
e231f6f221
commit
089bae5bf9
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user