OpenSlides/client/src/app/site/config/config.config.ts

19 lines
658 B
TypeScript
Raw Normal View History

2019-08-05 15:00:21 +02:00
import { AppConfig } from '../../core/definitions/app-config';
import { Config } from '../../shared/models/core/config';
import { ConfigRepositoryService } from '../../core/repositories/config/config-repository.service';
import { ViewConfig } from './models/view-config';
export const ConfigAppConfig: AppConfig = {
name: 'settings',
2019-10-18 14:18:49 +02:00
models: [{ model: Config, viewModel: ViewConfig, repository: ConfigRepositoryService }],
mainMenuEntries: [
{
route: '/settings',
displayName: 'Settings',
icon: 'settings',
weight: 1300,
permission: 'core.can_manage_config'
}
]
};