Skip to content

Commit b5263fc

Browse files
maciaszczykmSebastian Florek
authored andcommitted
Set 'None' service as default (#787)
1 parent 139f8e5 commit b5263fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/frontend/deploy/portmappings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<md-input-container class="md-block">
1818
<label>Service</label>
19-
<md-select ng-model="ctrl.serviceType" ng-change="ctrl.changeServiceType()">
19+
<md-select ng-model="ctrl.serviceType" ng-change="ctrl.changeServiceType()" required>
2020
<md-option ng-repeat="serviceType in ctrl.serviceTypes" ng-value="serviceType">
2121
{{serviceType.label}}
2222
</md-option>

src/app/frontend/deploy/portmappings_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class PortMappingsController {
6767
* Selected service type. Binding to outer scope.
6868
* @export {ServiceType}
6969
*/
70-
this.serviceType;
70+
this.serviceType = NO_SERVICE;
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)