1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(templates): add support for the command field (#585)

This commit is contained in:
Anthony Lapenna 2017-02-10 18:11:00 +13:00 committed by GitHub
parent 9ebe2d96dd
commit d9624053d2
5 changed files with 26 additions and 18 deletions

View file

@ -4,6 +4,7 @@ function TemplateViewModel(data) {
this.Logo = data.logo;
this.Image = data.image;
this.Registry = data.registry ? data.registry : '';
this.Command = data.command ? data.command : '';
this.Env = data.env ? data.env : [];
this.Volumes = data.volumes ? data.volumes : [];
this.Ports = [];