mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 18:59:41 +02:00
fix(app): set defaults for select boxes (#4235)
* fix(container): select runtime by default * fix(network): set default network config * fix(container): set default network container placeholder * fix(services): default service mount
This commit is contained in:
parent
d850e18ff0
commit
7329ea91ca
4 changed files with 5 additions and 6 deletions
|
@ -201,7 +201,7 @@ angular.module('portainer.docker').controller('ServiceController', [
|
|||
}
|
||||
};
|
||||
$scope.addMount = function addMount(service) {
|
||||
service.ServiceMounts.push({ Type: 'volume', Source: '', Target: '', ReadOnly: false });
|
||||
service.ServiceMounts.push({ Type: 'volume', Source: null, Target: '', ReadOnly: false });
|
||||
updateServiceArray(service, 'ServiceMounts', service.ServiceMounts);
|
||||
};
|
||||
$scope.removeMount = function removeMount(service, index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue