diff --git a/source/app/web/statics/app.placeholder.js b/source/app/web/statics/app.placeholder.js index 211cc6fb..63d4cc51 100644 --- a/source/app/web/statics/app.placeholder.js +++ b/source/app/web/statics/app.placeholder.js @@ -65,7 +65,7 @@ computed: { commits: faker.datatype.number(10000), sponsorships: faker.datatype.number(10), - licenses: { favorite: [""], used: { MIT: 1 } }, + licenses: { favorite: [""], used: { MIT: 1 }, about:{} }, token: { scopes: [] }, repositories: { watchers: faker.datatype.number(1000), @@ -1055,6 +1055,9 @@ data.f.date = function(string, options) { return new Intl.DateTimeFormat("en-GB", options).format(new Date(string)) } + data.f.license = function(text) { + return text?.name ?? text + } //Render return await ejs.render(image, data, { async: true, rmWhitespace: true }) }