Skip to content

Commit 1ed34c0

Browse files
committed
feat(import): disable back button during loading and fix spacing in upload error message
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent ad69271 commit 1ed34c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/src/app/rule-management/app-rule/components/import-rules/import-rule.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210

211211
<!-- BACK -->
212212
<button *ngIf="currentStep !== RULE_FORM.STEP0 && !isImportFinished"
213+
[disabled]="loading"
213214
(click)="back()"
214215
class="btn utm-button utm-button-primary mr-2">
215216
<i class="icon-arrow-left32"></i> Back

frontend/src/app/shared/components/utm/util/utm-file-upload/utm-file-upload.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h6 class="font-weight-light text-blue-800">Drag file or click here to select {{
66
hidden
77
type="file">
88
<small *ngIf="maxFilesError" class="form-text text-danger">
9-
{{ 'You can upload up to ' + maxFiles + 'files only.'}}
9+
{{ 'You can upload up to ' + maxFiles + ' files only.'}}
1010
</small>
1111
</div>
1212

0 commit comments

Comments
 (0)