Sync Integ to Master
[sdc.git] / catalog-ui / src / app / models / modal.ts
index b7bdf25..f0a6327 100644 (file)
@@ -6,13 +6,15 @@ export class ModalModel {
     content: any;
     buttons: Array<ButtonModel>;
     type: string; 'standard|error|alert'
+    isMovable: boolean;
 
-    constructor(size?: string, title?: string, content?: any, buttons?: Array<ButtonModel>, type?:string) {
+    constructor(size?: string, title?: string, content?: any, buttons?: Array<ButtonModel>, type?: string, isMovable?: boolean) {
         this.size = size;
         this.title = title;
         this.content = content;
         this.buttons = buttons;
         this.type = type || 'standard';
+        this.isMovable = !!isMovable;
     }
 }