File tree Expand file tree Collapse file tree
dashboard/src/app/workspaces/workspace-details/environments/machine-config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,9 +252,10 @@ export class WorkspaceMachineConfigController {
252252
253253 /**
254254 * Change machine's source image
255+ * @param {string } newImage
255256 */
256- changeSource ( ) : void {
257- this . environmentManager . setSource ( this . machine , this . newImage ) ;
257+ changeSource ( newImage : string ) : void {
258+ this . environmentManager . setSource ( this . machine , newImage ) ;
258259 this . doUpdateConfig ( ) ;
259260 }
260261
Original file line number Diff line number Diff line change 4747 ng-if ="workspaceMachineConfigController.machineConfig.source.image ">
4848 < ng-form flex name ="workspaceMachineConfigForm " class ="config-machine-source ">
4949 < che-input-box ng-model ="workspaceMachineConfigController.newImage "
50- ng- change ="workspaceMachineConfigController.changeSource() "
50+ che-on- change ="workspaceMachineConfigController.changeSource($value ) "
5151 che-name ="source "
5252 che-place-holder ="Image "
5353 che-form ="workspaceMachineConfigForm "
You can’t perform that action at this time.
0 commit comments