Merge branch 'RED-8660' into 'master'
RED-8660: hide changes box when loading page. See merge request redactmanager/red-ui!375
This commit is contained in:
commit
bf1f5892cf
@ -30,7 +30,7 @@
|
||||
></redaction-kms-signature-configuration>
|
||||
</ng-container>
|
||||
|
||||
<div [class.hidden]="!digitalSignature" class="changes-box">
|
||||
<div [class.hidden]="!digitalSignature || !showChangesBox()" class="changes-box z-index-1000">
|
||||
<iqser-icon-button
|
||||
(action)="saveDigitalSignature()"
|
||||
[disabled]="disabled"
|
||||
|
||||
@ -20,3 +20,7 @@ form {
|
||||
input[name='keySecret']:not(:placeholder-shown) {
|
||||
font-family: 'secret', serif;
|
||||
}
|
||||
|
||||
.z-index-1000 {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ChangeDetectorRef, Component, computed, OnInit, ViewChild } from '@angular/core';
|
||||
import { IconButtonTypes, IqserPermissionsService, LoadingService, Toaster } from '@iqser/common-ui';
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
import { RouterHistoryService } from '@services/router-history.service';
|
||||
@ -24,6 +24,7 @@ export class DigitalSignatureScreenComponent implements OnInit {
|
||||
readonly iconButtonTypes = IconButtonTypes;
|
||||
readonly roles = Roles;
|
||||
readonly currentUser = getCurrentUser<User>();
|
||||
readonly showChangesBox = computed(() => !this._loadingService.isLoading());
|
||||
|
||||
digitalSignature: IPkcsDigitalSignatureRequest | IKmsDigitalSignatureRequest;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user