mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(templates): add support for the name property (#1680)
This commit is contained in:
parent
b9a1c68ea0
commit
76aeee7237
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
function StackTemplateViewModel(data) {
|
||||
this.Type = data.type;
|
||||
this.Name = data.name;
|
||||
this.Title = data.title;
|
||||
this.Description = data.description;
|
||||
this.Note = data.note;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
function TemplateViewModel(data) {
|
||||
this.Type = data.type;
|
||||
this.Name = data.name;
|
||||
this.Title = data.title;
|
||||
this.Description = data.description;
|
||||
this.Note = data.note;
|
||||
|
@ -45,5 +46,5 @@ function TemplateViewModel(data) {
|
|||
};
|
||||
});
|
||||
}
|
||||
this.Hosts = data.hosts ? data.hosts : [];
|
||||
this.Hosts = data.hosts ? data.hosts : [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue