1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-28 01:39:39 +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:
Chaim Lev-Ari 2020-08-20 04:02:25 +03:00 committed by GitHub
parent d850e18ff0
commit 7329ea91ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -139,7 +139,7 @@ angular.module('portainer.docker').controller('CreateServiceController', [
};
$scope.addVolume = function () {
$scope.formValues.Volumes.push({ Source: '', Target: '', ReadOnly: false, Type: 'volume' });
$scope.formValues.Volumes.push({ Source: null, Target: '', ReadOnly: false, Type: 'volume' });
};
$scope.removeVolume = function (index) {