fix: mod owner not displayed
This commit is contained in:
parent
e1ba635c8d
commit
9882157f45
@ -97,8 +97,8 @@ window.getModDetails = function(d) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modTooltip = modName + '\n';
|
modTooltip = modName + '\n';
|
||||||
if (mod.installingUser) {
|
if (mod.owner) {
|
||||||
modTooltip += 'Installed by: '+ mod.installingUser + '\n';
|
modTooltip += 'Installed by: '+ mod.owner + '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mod.stats) {
|
if (mod.stats) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// @id iitc-plugin-guess-player-levels@breunigs
|
// @id iitc-plugin-guess-player-levels@breunigs
|
||||||
// @name IITC plugin: guess player level
|
// @name IITC plugin: guess player level
|
||||||
// @category Info
|
// @category Info
|
||||||
// @version 0.5.3.@@DATETIMEVERSION@@
|
// @version 0.5.4.@@DATETIMEVERSION@@
|
||||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
@ -135,7 +135,7 @@ window.plugin.guessPlayerLevels.extractPortalData = function(data) {
|
|||||||
var owner = data.details.owner && data.details.owner || "";
|
var owner = data.details.owner && data.details.owner || "";
|
||||||
var ownerModCount = 0;
|
var ownerModCount = 0;
|
||||||
data.details.mods.forEach(function(mod) {
|
data.details.mods.forEach(function(mod) {
|
||||||
if(mod && mod.installingUser == owner)
|
if(mod && mod.owner == owner)
|
||||||
ownerModCount++;
|
ownerModCount++;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user