diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/pages')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts | 10 |
1 files changed, 0 insertions, 10 deletions
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 |