From 9f60c2a7edc1b04fc1a376e6695d5a0b55c077df Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Wed, 3 Aug 2022 19:05:31 +0100 Subject: [PATCH] Fix outputs of complex type display and delete Issue-ID: SDC-4121 Signed-off-by: KrupaNagabhushan Change-Id: I811ecf8240eb1e8ab9ce3c714f0e12600ee73f10 --- .../logic/outputs-table/outputs-table.component.html | 2 +- .../components/logic/outputs-table/outputs-table.component.ts | 2 -- .../attributes-outputs/attributes-outputs.page.component.ts | 10 ---------- 3 files changed, 1 insertion(+), 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 @@
{ - 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 -- 2.16.6