[ui] Fix Default command checkbox (#7104)

* [ui] Fix Default command checkbox

* Regenerate static ui files
This commit is contained in:
Philippe Martin
2023-10-02 16:22:38 +02:00
committed by GitHub
parent 85a65b2672
commit 1f2214c08c
4 changed files with 4 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ import { CompositeCommand } from './compositeCommand';
export interface Command {
name: string;
group: string;
_default?: boolean;
default?: boolean;
type: string;
exec?: ExecCommand;
apply?: ApplyCommand;

View File

@@ -9,7 +9,7 @@
</mat-card-title>
<mat-checkbox
*ngIf="command.group != ''"
[checked]="command._default"
[checked]="command.default"
(change)="toggleDefault($event, command.name, command.group)"
>Default {{kind}} command</mat-checkbox>
</div>
@@ -22,7 +22,6 @@
</mat-card-header>
<mat-card-content>
<ng-container *ngIf="command.type == 'exec'">
<table class="aligned">