aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-10-14 14:27:54 +0100
committerMichael Morris <michael.morris@est.tech>2022-10-17 14:44:47 +0000
commitc3462d9ccaf7a89b38b8228938c99df451b1189b (patch)
tree30246ac013670afda1e39fa9ad07bd9ec6bc2ecf /catalog-ui
parentaa72781388f3e6408bb43f1b024d88ec1c9d2c10 (diff)
Fix cant set properties on an instance in the composion view
Issue-ID: SDC-4218 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I58e1c60ea3f79abefe45700c3194f17875d74418
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/utils/modals-handler.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/catalog-ui/src/app/utils/modals-handler.ts b/catalog-ui/src/app/utils/modals-handler.ts
index 6813d53884..cbbab45e9c 100644
--- a/catalog-ui/src/app/utils/modals-handler.ts
+++ b/catalog-ui/src/app/utils/modals-handler.ts
@@ -24,7 +24,7 @@ import { ComponentMetadata } from '../models/component-metadata';
export interface IModalsHandler {
openEditPropertyModal(property: PropertyModel, component: Component, filteredProperties: PropertyModel[], isPropertyOwnValue: boolean,
- propertyOwnerType: string, propertyOwnerId: string, isViewOnly: boolean): ng.IPromise<any>;
+ propertyOwnerType: string, propertyOwnerId: string, isViewOnly?: boolean): ng.IPromise<any>;
}
export class ModalsHandler implements IModalsHandler {
@@ -139,6 +139,9 @@ export class ModalsHandler implements IModalsHandler {
},
propertyOwnerId: (): string => {
return propertyOwnerId;
+ },
+ isViewOnly: (): boolean => {
+ return false;
}
}
};