disble action buttons while data is not loaaded

pull/10219/head
bsatarnejad 3 years ago
parent b3bc6cc84f
commit 1468bdcd0e
  1. 6
      frontend/src/app/shared/components/project-include/project-include.component.html

@ -59,13 +59,17 @@
<div class="spot-action-bar--left"></div> <div class="spot-action-bar--left"></div>
<div class="spot-action-bar--right"> <div class="spot-action-bar--right">
<button <button
[disabled]="!(hasProjects$ | async)"
class="spot-button spot-button_outlined spot-button_main" class="spot-button spot-button_outlined spot-button_main"
type="button" type="button"
(click)="clearSelection()" (click)="clearSelection()"
> >
{{ text.clear_selection }} {{ text.clear_selection }}
</button> </button>
<button class="spot-button spot-button_main"> <button
[disabled]="!(hasProjects$ | async)"
class="spot-button spot-button_main"
>
{{ text.apply }} {{ text.apply }}
</button> </button>
</div> </div>

Loading…
Cancel
Save