Skip to content

Commit

Permalink
Merge branch 'issue-2535_hide-add-more-button-submission-if-no-disabl…
Browse files Browse the repository at this point in the history
…ed-sections-7.4' into issue-2535_hide-add-more-button-submission-if-no-disabled-sections-7.x
  • Loading branch information
MarieVerdonck committed Oct 4, 2023
2 parents 980e254 + 709848e commit 77dd72b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
placement="bottom-right"
class="d-inline-block"
[ngClass]="{'w-100': windowService.isXs()}">
<ng-container *ngIf="hasSections$ | async">
<button class="btn btn-outline-primary dropdown-toggle"
id="sectionControls"
[disabled]="!(hasSections$ | async)"
[ngClass]="{'w-100': (windowService.isXs() | async)}"
ngbDropdownToggle>
{{ 'submission.sections.general.add-more' | translate }} <i class="fa fa-plus" aria-hidden="true"></i>
</button>
</ng-container>
<div ngbDropdownMenu
class="sections-dropdown-menu"
aria-labelledby="sectionControls"
Expand Down

0 comments on commit 77dd72b

Please sign in to comment.