[Library|Trunk]

Alert modal  buttons: add ignoreCommunityPanelBackground  to not override button colors




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56973 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-09-05 13:03:57 +00:00
parent 3b849c78d6
commit 71d0c3ae4f
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ import {Component, ViewEncapsulation, ElementRef, EventEmitter, Output, Input} f
(click)="cancel()">{{cancelButtonText}}</button>
</span>
<span [hidden]=!okButton>
<button *ngIf="okDisabled" class="uk-button uk-button-default" disabled>{{okButtonText}}</button>
<button *ngIf="!okDisabled" class="uk-button portal-button" (click)="ok()">{{okButtonText}}</button>
<button *ngIf="okDisabled" class="uk-button uk-button-default ignoreCommunityPanelBackground" disabled>{{okButtonText}}</button>
<button *ngIf="!okDisabled" class="uk-button portal-button ignoreCommunityPanelBackground" (click)="ok()">{{okButtonText}}</button>
</span>
</div>
</div>