mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
check properties object exists (#1316)
This commit is contained in:
committed by
Adina Parpalita
parent
9e4e4a9b0c
commit
7c30ad139f
@@ -64,9 +64,12 @@ export class CreateFromTemplateDialogComponent implements OnInit {
|
|||||||
this.forbidSpecialCharacters
|
this.forbidSpecialCharacters
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
title: [this.data.properties['cm:title'], Validators.maxLength(256)],
|
title: [
|
||||||
|
this.data.properties ? this.data.properties['cm:title'] : '',
|
||||||
|
Validators.maxLength(256)
|
||||||
|
],
|
||||||
description: [
|
description: [
|
||||||
this.data.properties['cm:description'],
|
this.data.properties ? this.data.properties['cm:description'] : '',
|
||||||
Validators.maxLength(512)
|
Validators.maxLength(512)
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user