Browse Source

Fixed copy edge secret and routinKey

pull/3811/head
Artem Babak 6 years ago
parent
commit
63d501c644
  1. 18
      ui-ngx/src/app/modules/home/pages/edge/edge.component.html

18
ui-ngx/src/app/modules/home/pages/edge/edge.component.html

@ -79,22 +79,22 @@
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon> <mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>edge.copy-id</span> <span translate>edge.copy-id</span>
</button> </button>
<button mat-raised-button
ngxClipboard
(cbOnSuccess)="onEdgeKeyCopied($event)"
[cbContent]="entity?.routingKey"
[fxShow]="!isEdit">
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>edge.copy-edge-key</span>
</button>
<button mat-raised-button <button mat-raised-button
ngxClipboard ngxClipboard
(cbOnSuccess)="onEdgeSecretCopied($event)" (cbOnSuccess)="onEdgeSecretCopied($event)"
[cbContent]="entity?.id?.id" [cbContent]="entity?.secret"
[fxShow]="!isEdit"> [fxShow]="!isEdit">
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon> <mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>edge.copy-edge-secret</span> <span translate>edge.copy-edge-secret</span>
</button> </button>
<button mat-raised-button
ngxClipboard
(cbOnSuccess)="onEdgeKeyCopied($event)"
[cbContent]="entity?.id?.id"
[fxShow]="!isEdit">
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>edge.copy-edge-key</span>
</button>
</div> </div>
</div> </div>

Loading…
Cancel
Save