diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2022-07-11 11:44:31 +0100 |
---|---|---|
committer | Andr� Schmid <andre.schmid@est.tech> | 2022-07-11 15:29:43 +0000 |
commit | 6545802c422ae1c40f994d2e8083666217d55848 (patch) | |
tree | f8e905a771f051ecc75877c0b2d7c76dfd0b97ea /catalog-ui/src/app | |
parent | 1b5a2db8e2957873aedb0b9feb749009086d39c1 (diff) |
Save/discard button not showing for an instance attributes
Issue-ID: SDC-4088
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ia2d07bfa53a34761c181eef1282dbc29de789fd3
Diffstat (limited to 'catalog-ui/src/app')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.html b/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.html index 778d5458c6..e4f672ce9b 100644 --- a/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.html +++ b/catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.html @@ -51,6 +51,10 @@ (outputChanged)="dataChanged($event)"> </outputs-table> </tab> + <div class="main-tabs-section-buttons"> + <button class="tlv-btn outline blue" [disabled]="!hasChangedData || savingChangedData" (click)="reverseChangedData()" data-tests-id="attributes-reverse-button">Discard</button> + <button class="tlv-btn blue" [disabled]="!hasChangedData || !isValidChangedData || savingChangedData" (click)="doSaveChangedData()" data-tests-id="attributes-save-button">{{savingChangedData ? 'Saving' : 'Save'}}</button> + </div> </tabs> <div class="header"> <button class="tlv-btn blue declare-button" [disabled]="!checkedAttributesCount || isReadonly || hasChangedData" (click)="declareAttributes()" data-tests-id="declare-button declare-output">Declare Output</button> |