Added watermarkPreviewEnabled property on dossier model
This commit is contained in:
parent
c08529eb6b
commit
30409676fe
@ -21,6 +21,7 @@ export class Dossier implements IDossier, IListable {
|
||||
readonly startDate?: string;
|
||||
readonly status: DossierStatus;
|
||||
readonly watermarkEnabled: boolean;
|
||||
readonly watermarkPreviewEnabled: boolean;
|
||||
readonly hasReviewers: boolean;
|
||||
|
||||
constructor(dossier: IDossier, public type?: IDictionary) {
|
||||
@ -40,6 +41,7 @@ export class Dossier implements IDossier, IListable {
|
||||
this.startDate = dossier.startDate;
|
||||
this.status = dossier.status;
|
||||
this.watermarkEnabled = dossier.watermarkEnabled;
|
||||
this.watermarkPreviewEnabled = dossier.watermarkPreviewEnabled;
|
||||
this.hasReviewers = !!this.memberIds && this.memberIds.length > 1;
|
||||
}
|
||||
|
||||
|
||||
@ -19,4 +19,5 @@ export interface IDossier {
|
||||
readonly startDate?: string;
|
||||
readonly status: DossierStatus;
|
||||
readonly watermarkEnabled: boolean;
|
||||
readonly watermarkPreviewEnabled: boolean;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user