Merge pull request #3920 from tsiegleauq/statute-hotfix

Hotfix for MotionStatute
This commit is contained in:
Sean 2018-10-12 13:20:28 +02:00 committed by GitHub
commit 54ee775c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -18,5 +18,3 @@ export class StatuteParagraph extends BaseModel<StatuteParagraph> {
return this.title; return this.title;
} }
} }
BaseModel.registerCollectionElement('motions/statute-paragraph', StatuteParagraph);

View File

@ -5,6 +5,7 @@ import { Workflow } from '../../shared/models/motions/workflow';
import { MotionCommentSection } from '../../shared/models/motions/motion-comment-section'; import { MotionCommentSection } from '../../shared/models/motions/motion-comment-section';
import { MotionChangeReco } from '../../shared/models/motions/motion-change-reco'; import { MotionChangeReco } from '../../shared/models/motions/motion-change-reco';
import { MotionBlock } from '../../shared/models/motions/motion-block'; import { MotionBlock } from '../../shared/models/motions/motion-block';
import { StatuteParagraph } from '../../shared/models/motions/statute-paragraph';
export const MotionsAppConfig: AppConfig = { export const MotionsAppConfig: AppConfig = {
name: 'motions', name: 'motions',
@ -14,7 +15,8 @@ export const MotionsAppConfig: AppConfig = {
{ collectionString: 'motions/workflow', model: Workflow }, { collectionString: 'motions/workflow', model: Workflow },
{ collectionString: 'motions/motion-comment-section', model: MotionCommentSection }, { collectionString: 'motions/motion-comment-section', model: MotionCommentSection },
{ collectionString: 'motions/motion-change-recommendation', model: MotionChangeReco }, { collectionString: 'motions/motion-change-recommendation', model: MotionChangeReco },
{ collectionString: 'motions/motion-block', model: MotionBlock } { collectionString: 'motions/motion-block', model: MotionBlock },
{ collectionString: 'motions/statute-paragraph', model: StatuteParagraph }
], ],
mainMenuEntries: [ mainMenuEntries: [
{ {