mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
[ui] Fix Default command checkbox (#7104)
* [ui] Fix Default command checkbox * Regenerate static ui files
This commit is contained in:
2
ui/src/app/api-gen/model/command.ts
generated
2
ui/src/app/api-gen/model/command.ts
generated
@@ -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;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user