bring back description

This commit is contained in:
Sandeep Somavarapu 2021-07-15 16:27:11 +02:00
parent 5c27d61c4e
commit c2b2d0ea9e
No known key found for this signature in database
GPG key ID: 1FED25EC4646638B

View file

@ -212,6 +212,10 @@ export class Renderer implements IPagedRenderer<IExtension, ITemplateData> {
data.ratings.style.display = '';
data.extension = extension;
if (extension.gallery && extension.gallery.properties && extension.gallery.properties.localizedLanguages && extension.gallery.properties.localizedLanguages.length) {
data.description.textContent = extension.gallery.properties.localizedLanguages.map(name => name[0].toLocaleUpperCase() + name.slice(1)).join(', ');
}
this.extensionViewState.onFocus(e => {
if (areSameExtensions(extension.identifier, e.identifier)) {
data.actionbar.setFocusable(true);