Fix calculate tags

GitOrigin-RevId: 189fd041448a66bb8c7ba1819752974c2d24a1f7
This commit is contained in:
Alexander Lobas
2021-07-07 18:32:33 +00:00
committed by intellij-monorepo-bot
parent 468a0a1db5
commit 60e793585a
@@ -1221,15 +1221,6 @@ public final class PluginManagerConfigurable
tags.add(Tags.Paid.name());
}
}
else {
if (!LicensePanel.isEA2Product(plugin.getPluginId().getIdString()) &&
tags != null && tags.contains(Tags.Paid.name())) {
return List.of(Tags.Paid.name());
}
else {
tags = null;
}
}
}
else if (productCode != null && !plugin.isBundled() && !LicensePanel.isEA2Product(productCode)) {
LicensingFacade instance = LicensingFacade.getInstance();