All files / app/form/plugins plugins.component.html

26.08% Statements 6/23
25% Branches 2/8
0% Functions 0/3
33.33% Lines 6/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 2749x                 49x                       49x 16x 16x 16x    
@if (icons.length) {
  <div>
    @for (icon of icons; track icon) {
      <span class="icon"
            [appTitle]="icon"
            [ref]="group.value">{{ icon.label || icon.thumbnail }}</span>
    }
  </div>
}
@for (plugin of forms; track plugin) {
  @if (hasForm(plugin)) {
    <app-form-gen #gen
                  [plugins]="plugins"
                  [plugin]="plugin"
                  [pending]="pending"
                  (pendingUsed)="usePending($event)"
                  (togglePlugin)="togglePlugin.next($event)"
                  (setPlugin)="pending[$event.tag] = $event.value"
                  [children]="admin.getPluginSubForms(plugin.tag)"></app-form-gen>
  }
}
@if (empty) {
  <div class="empty-plugins">
    no plugins
  </div>
}