added macos tab
This commit is contained in:
parent
056deef193
commit
0167e7d02c
@ -55,5 +55,21 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon class="tabs-icon" svgIcon="macos"></mat-icon>
|
||||
MacOS
|
||||
</ng-template>
|
||||
<ng-template matTabContent>
|
||||
<div class="tb-form-panel no-padding no-border tb-tab-body">
|
||||
<tb-markdown usePlainMarkdown containerClass="start-code" data="
|
||||
```bash
|
||||
{{linuxCode}}
|
||||
{:copy-code}
|
||||
```
|
||||
"></tb-markdown>
|
||||
</div>
|
||||
</ng-template>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
</div>
|
||||
|
||||
@ -65,9 +65,11 @@ export class DeviceGatewayCommandComponent implements OnInit {
|
||||
switch (currentOS) {
|
||||
case 'linux':
|
||||
case 'android':
|
||||
this.tabIndex = 1;
|
||||
break;
|
||||
case 'macos':
|
||||
case 'ios':
|
||||
this.tabIndex = 1;
|
||||
this.tabIndex = 2;
|
||||
break;
|
||||
case 'windows':
|
||||
this.tabIndex = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user