aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-08-03 19:05:31 +0100
committerKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-08-03 19:05:31 +0100
commit9f60c2a7edc1b04fc1a376e6695d5a0b55c077df (patch)
treeb5028cace222e2ca584f42d9fc443a8385ac158b /catalog-ui
parent7c7680d767bce8625c9c7ad69009fb73ae849809 (diff)
Fix outputs of complex type display and delete
Issue-ID: SDC-4121 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I811ecf8240eb1e8ab9ce3c714f0e12600ee73f10
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.html2
-rw-r--r--catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.ts2
-rw-r--r--catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts10
3 files changed, 1 insertions, 13 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.html b/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.html
index e0e7e2ea1a..84d0158b74 100644
--- a/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.html
+++ b/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.html
@@ -76,7 +76,7 @@
<div class="table-cell col-output-attribute-value output-value-col"
[class.inner-table-container]="!output.isSimpleType">
<dynamic-element class="value-output"
- *ngIf="checkInstanceFeAttributesMapIsFilled() && output.isSimpleType"
+ *ngIf="checkInstanceFeAttributesMapIsFilled()"
pattern="null"
[value]="output.value"
[type]="'string'"
diff --git a/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.ts b/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.ts
index a7caeaa9fb..3e712f2ae2 100644
--- a/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.ts
+++ b/catalog-ui/src/app/ng2/components/logic/outputs-table/outputs-table.component.ts
@@ -26,7 +26,6 @@ import {InstanceFeAttributesMap} from "app/models/attributes-outputs/attribute-f
import {Select} from "@ngxs/store";
import {WorkspaceState} from "../../../store/states/workspace.state";
import {OutputFEModel} from "app/models/attributes-outputs/output-fe-model";
-import {InputFEModel} from "../../../../models/properties-inputs/input-fe-model";
@Component({
selector: 'outputs-table',
@@ -50,7 +49,6 @@ export class OutputsTableComponent implements OnInit {
@Input() feAttributesMap: InstanceFeAttributesMap;
deleteMsgTitle: string;
- deleteMsgBodyTxt: string;
modalDeleteBtn: string;
modalCancelBtn: string;
sortBy: string;
diff --git a/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts b/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts
index f97f8499ea..76001a7f28 100644
--- a/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts
+++ b/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts
@@ -651,17 +651,7 @@ export class AttributesOutputsComponent {
this.attributeOutputTabs.setTabIndication('Outputs', numOutputs);
};
-
- resetUnsavedChangesForOutput = (output: OutputFEModel) => {
- this.outputsUtils.resetOutputDefaultValue(output, output.defaultValue);
- this.changedData = this.changedData.filter((changedItem) => changedItem.uniqueId !== output.uniqueId);
- this.updateHasChangedData();
- }
-
deleteOutput = (output: OutputFEModel) => {
- //reset any unsaved changes to the output before deleting it
- this.resetUnsavedChangesForOutput(output);
-
let outputToDelete = new OutputBEModel(output);
this.componentServiceNg2