mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2561] add showComments toggle on demo-shell (#3143)
This commit is contained in:
committed by
Denys Vuika
parent
9b3e153b83
commit
c7507c0c31
@@ -27,11 +27,13 @@ import { MatSnackBar } from '@angular/material';
|
||||
export class VersionManagerDialogAdapterComponent {
|
||||
|
||||
public contentEntry: MinimalNodeEntryEntity;
|
||||
showComments = true;
|
||||
|
||||
constructor(@Inject(MAT_DIALOG_DATA) data: any,
|
||||
private snackBar: MatSnackBar,
|
||||
private containingDialog?: MatDialogRef<VersionManagerDialogAdapterComponent>) {
|
||||
this.contentEntry = data.contentEntry;
|
||||
this.showComments = data.hasOwnProperty('showComments') ? data.showComments : this.showComments;
|
||||
}
|
||||
|
||||
uploadError(errorMessage: string) {
|
||||
|
Reference in New Issue
Block a user