All files / src/components/widget-instance-editor-dialog si-widget-instance-editor-dialog.component.html

57.14% Statements 16/28
50% Branches 2/4
50% Functions 2/4
55.55% Lines 10/18

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 334x 4x 4x   4x 11x   4x   11x                 11x                   11x   4x    
<div class="si-layout-fixed-height mb-8 mx-0 overflow-auto px-2 pt-2">
  <ng-container #editorHost />
</div>
 
<div class="editor-footer px-2">
  <button type="button" class="btn btn-secondary" (click)="onCancel()">{{
    labelCancel | translate
  }}</button>
 
  @if (showPreviousButton()) {
    <button
      type="button"
      class="btn btn-secondary"
      [disabled]="disablePreviousButton()"
      (click)="onPrevious()"
      >{{ labelPrevious | translate }}</button
    >
  }
  @if (showNextButton()) {
    <button
      type="button"
      class="btn btn-secondary"
      [disabled]="disableNextButton()"
      (click)="onNext()"
      >{{ labelNext | translate }}</button
    >
  }
 
  <button type="button" class="btn btn-primary" [disabled]="invalidConfig()" (click)="onSave()">{{
    labelSave | translate
  }}</button>
</div>