mirror of
https://github.com/portainer/portainer.git
synced 2025-08-01 20:05:23 +02:00
fix(templates): display templates without platform (#937)
This commit is contained in:
parent
4ec65a80df
commit
db324998e3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function TemplateViewModel(data) {
|
||||||
this.Description = data.description;
|
this.Description = data.description;
|
||||||
this.Note = data.note;
|
this.Note = data.note;
|
||||||
this.Categories = data.categories ? data.categories : [];
|
this.Categories = data.categories ? data.categories : [];
|
||||||
this.Platform = data.platform ? data.platform : '';
|
this.Platform = data.platform ? data.platform : 'undefined';
|
||||||
this.Logo = data.logo;
|
this.Logo = data.logo;
|
||||||
this.Image = data.image;
|
this.Image = data.image;
|
||||||
this.Registry = data.registry ? data.registry : '';
|
this.Registry = data.registry ? data.registry : '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue