IDEA-232665 Bundled plugin build is not shown

GitOrigin-RevId: d9db3bc232d4669e4099efa1b140af687befc8e1
This commit is contained in:
Alexander Lobas
2020-02-14 20:48:49 +03:00
committed by intellij-monorepo-bot
parent a3b4b98274
commit bed7f40bd1

View File

@@ -402,7 +402,10 @@ public class PluginDetailsPageComponent extends MultiPanel {
updateButtons();
boolean bundled = myPlugin.isBundled() && !myPlugin.allowBundledUpdate();
String version = bundled ? "bundled" : myPlugin.getVersion();
String version = myPlugin.getVersion();
if (bundled) {
version = "bundled" + (StringUtil.isEmptyOrSpaces(version) ? "" : " " + version);
}
if (myUpdateDescriptor != null) {
version = myPlugin.getVersion() + " " + UIUtil.rightArrow() + " " + myUpdateDescriptor.getVersion();
}