17 lines
557 B
TypeScript
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'
|
|
}
|
|
]
|
|
};
|