diff --git a/src/components/overview/slots/JobSlot.vue b/src/components/overview/slots/JobSlot.vue index 69f1408..8063ec0 100644 --- a/src/components/overview/slots/JobSlot.vue +++ b/src/components/overview/slots/JobSlot.vue @@ -54,7 +54,7 @@
hasPermission(PERMISSIONS.ASSIGN_OTHER)); + const canAssign = computed(() => hasPermission(PERMISSIONS.ASSIGN)); + // options shown in the select const options = ref([] as FG.Service[]); @@ -257,6 +259,7 @@ export default defineComponent({ unassign: (s?: FG.Service) => assign(Object.assign({}, s || service.value, { value: -1 })), backup: (is_backup: boolean) => assign(Object.assign({}, service.value, { is_backup })), canAssignOther, + canAssign, canInvite, filterUsers, isBackup,