OpenSlides/client/src/app/site/assignments/assignments.config.ts
2018-12-13 12:40:51 +01:00

17 lines
557 B
TypeScript

import { AppConfig } from '../base/app-config';
import { Assignment } from '../../shared/models/assignments/assignment';
export const AssignmentsAppConfig: AppConfig = {
name: 'assignments',
models: [{ collectionString: 'assignments/assignment', model: Assignment, searchOrder: 3 }],
mainMenuEntries: [
{
route: '/assignments',
displayName: 'Elections',
icon: 'poll', // TODO not yet available: 'how_to_vote',
weight: 400,
permission: 'assignments.can_see'
}
]
};