Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
() => ({
scope: {item: '=', hideAvatar: '<'},
bindToController: true,
controllerAs: 'vm',
controller: ctrl.AssignmentPreviewController,
})
)
.directive('sdLocationsManagement',
() => ({
scope: {},
bindToController: true,
controllerAs: 'vm',
controller: ctrl.LocationsController,
})
)
.component('sdPlanningDetailsWidget', reactToAngular1(PlanningDetailsWidget, ['item']))
.service('sdPlanningStore', svc.PlanningStoreService)
.service('assignments', svc.AssignmentsService)
.config(['workspaceMenuProvider', (workspaceMenuProvider) => {
workspaceMenuProvider.item({
href: '/workspace/assignments',
icon: 'tasks',
label: gettext('Assignments'),
shortcut: 'ctrl+alt+a',
if: 'workspaceConfig.assignments',
order: 300,
});
workspaceMenuProvider.item({
href: '/planning',
icon: 'calendar',
label: gettext('Planning'),