mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
feat(templates): Support interactive templates (#819)
This commit is contained in:
parent
09aa67ba61
commit
c3363604ac
3 changed files with 16 additions and 0 deletions
|
@ -11,6 +11,7 @@ function TemplateViewModel(data) {
|
|||
this.Env = data.env ? data.env : [];
|
||||
this.Privileged = data.privileged ? data.privileged : false;
|
||||
this.Volumes = [];
|
||||
this.Interactive = data.interactive ? data.interactive : false;
|
||||
if (data.volumes) {
|
||||
this.Volumes = data.volumes.map(function (v) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue