RED-2849: Fixed upload button
This commit is contained in:
parent
2243225ee7
commit
fb63499183
@ -25,7 +25,7 @@
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="actionPerformed.emit('upload')"
|
||||
(action)="upload.emit()"
|
||||
[tooltip]="'dossier-overview.header-actions.upload-document' | translate"
|
||||
[type]="circleButtonTypes.primary"
|
||||
class="ml-14"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output, TemplateRef } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { RouterHistoryService } from '@services/router-history.service';
|
||||
import {
|
||||
ActionConfig,
|
||||
@ -7,6 +7,7 @@ import {
|
||||
List,
|
||||
ListingService,
|
||||
LoadingService,
|
||||
Required,
|
||||
SortingService,
|
||||
Toaster,
|
||||
} from '@iqser/common-ui';
|
||||
@ -26,10 +27,9 @@ import { ConfigService } from '../../config.service';
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class ScreenHeaderComponent implements OnInit {
|
||||
@Input() viewModeSelection: TemplateRef<any>;
|
||||
@Input() dossier: Dossier;
|
||||
@Input() analysisForced: boolean;
|
||||
@Output() readonly actionPerformed = new EventEmitter<string>();
|
||||
@Input() @Required() dossier: Dossier;
|
||||
@Input() @Required() analysisForced: boolean;
|
||||
@Output() @Required() readonly upload = new EventEmitter<void>();
|
||||
readonly circleButtonTypes = CircleButtonTypes;
|
||||
actionConfigs: List<ActionConfig>;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<ng-container *ngIf="dossier$ | async as dossier">
|
||||
<section (longPress)="forceReanalysisAction($event)" redactionLongPress>
|
||||
<redaction-screen-header [analysisForced]="analysisForced" [dossier]="dossier"></redaction-screen-header>
|
||||
<redaction-screen-header (upload)="fileInput.click()" [analysisForced]="analysisForced"
|
||||
[dossier]="dossier"></redaction-screen-header>
|
||||
|
||||
<div class="overlay-shadow"></div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user