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

31.57% Statements 6/19
25% Branches 2/8
0% Functions 0/1
35.29% Lines 6/17

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 2437x                 37x                 37x 13x 13x 13x    
@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.tag) {
  @if (hasForm(plugin)) {
    <app-form-gen #gen
                  [plugins]="plugins"
                  [plugin]="plugin"
                  (togglePlugin)="togglePlugin.next($event)"
                  [children]="admin.getPluginSubForms(plugin.tag)"></app-form-gen>
  }
}
@if (empty) {
  <div class="empty-plugins">
    no plugins
  </div>
}