[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

@@ -11,6 +11,6 @@
<body class="mat-typography">
<div id="loading">Loading, please wait...</div>
<app-root></app-root>
<script src="runtime.1289ea0acffcdc5e.js" type="module"></script><script src="polyfills.8b3b37cedaf377c3.js" type="module"></script><script src="main.b3030afaec4e307d.js" type="module"></script>
<script src="runtime.1289ea0acffcdc5e.js" type="module"></script><script src="polyfills.8b3b37cedaf377c3.js" type="module"></script><script src="main.d219859caca5567f.js" type="module"></script>
</body></html>

File diff suppressed because one or more lines are too long

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>
@@ -23,7 +23,6 @@
<mat-card-content>
<ng-container *ngIf="command.type == 'exec'">
<table class="aligned">
<tr>