Set plugin version

This commit is contained in:
Julia Radzhabova 2021-04-06 21:25:24 +03:00
parent 762b3322b8
commit 49eba78cbc
2 changed files with 4 additions and 1 deletions

View file

@ -205,6 +205,7 @@ define([
plugin.set_Name(item.get('name'));
plugin.set_Guid(item.get('guid'));
plugin.set_BaseUrl(item.get('baseUrl'));
plugin.set_MinVersion(item.get('minVersion'));
var variations = item.get('variations'),
variationsArr = [];
@ -576,7 +577,8 @@ define([
currentVariation: 0,
visible: pluginVisible,
groupName: (item.group) ? item.group.name : '',
groupRank: (item.group) ? item.group.rank : 0
groupRank: (item.group) ? item.group.rank : 0,
minVersion: item.minVersion
}));
}
});

View file

@ -238,6 +238,7 @@ define([
plugin.set_Name(item['name']);
plugin.set_Guid(item['guid']);
plugin.set_BaseUrl(item['baseUrl']);
plugin.set_MinVersion(item['minVersion']);
var variations = item['variations'],
variationsArr = [];