mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
[ui] Fix Resource URI button not checked (#7070)
* [u] Fix Resource URI button not checked * Generate static UI --------- Co-authored-by: Armel Soro <asoro@redhat.com>
This commit is contained in:
2
pkg/apiserver-impl/ui/index.html
generated
2
pkg/apiserver-impl/ui/index.html
generated
@@ -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.bd69d1720b99cd4c.js" type="module"></script>
|
||||
<script src="runtime.1289ea0acffcdc5e.js" type="module"></script><script src="polyfills.8b3b37cedaf377c3.js" type="module"></script><script src="main.113aa354c1f3bda4.js" type="module"></script>
|
||||
|
||||
</body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
||||
|
||||
<span class="toggleUriInlined">
|
||||
<mat-button-toggle-group formControlName="_choice" (change)="changeUriOrInlined($event.value)">
|
||||
<mat-button-toggle data-cy="resource-toogle-uri" value="uri" checked>Specify URI</mat-button-toggle>
|
||||
<mat-button-toggle data-cy="resource-toogle-uri" value="uri">Specify URI</mat-button-toggle>
|
||||
<mat-button-toggle data-cy="resource-toggle-inlined" value="inlined">Inlined content</mat-button-toggle>
|
||||
</mat-button-toggle-group>
|
||||
</span>
|
||||
|
||||
@@ -78,6 +78,9 @@ export class ResourceComponent {
|
||||
if (res['inlined']) {
|
||||
this.form.get('_choice')?.setValue('inlined');
|
||||
this.changeUriOrInlined('inlined');
|
||||
} else {
|
||||
this.form.get('_choice')?.setValue('uri');
|
||||
this.changeUriOrInlined('uri');
|
||||
}
|
||||
this.form.get('name')?.disable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user