Browse Source

Removed table Add Connector button from page on no connectors displayed

pull/11241/head
mpetrov 2 years ago
parent
commit
da178ad051
  1. 3
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html

3
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html

@ -20,7 +20,8 @@
<mat-toolbar class="mat-mdc-table-toolbar">
<h2>{{ 'gateway.connectors' | translate }}</h2>
<span fxFlex></span>
<button mat-icon-button
<button *ngIf="dataSource?.data?.length"
mat-icon-button
[disabled]="isLoading$ | async"
(click)="addConnector($event)"
matTooltip="{{ 'action.add' | translate }}"

Loading…
Cancel
Save