fix(templates): display templates without platform (#937)

pull/930/head^2
Anthony Lapenna 2017-06-17 16:50:35 +02:00 committed by GitHub
parent 4ec65a80df
commit db324998e3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ function TemplateViewModel(data) {
this.Description = data.description;
this.Note = data.note;
this.Categories = data.categories ? data.categories : [];
this.Platform = data.platform ? data.platform : '';
this.Platform = data.platform ? data.platform : 'undefined';
this.Logo = data.logo;
this.Image = data.image;
this.Registry = data.registry ? data.registry : '';