Skip to content

Commit b25ec79

Browse files
spring cloud artifacts not show in sdk reference book
1 parent 9260a3f commit b25ec79

File tree

1 file changed

+4
-3
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook

1 file changed

+4
-3
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook/AzureSdkArtifactDetailPanel.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ private void initEventListeners() {
4949

5050
private void setLinks(@Nonnull final Map<String, String> links) {
5151
this.links.removeAll();
52-
links.forEach((type, url) -> {
53-
final HyperlinkLabel link = new HyperlinkLabel();
52+
linkNames.forEach((type, name) -> {
53+
final String url = links.get(type);
5454
if (StringUtils.isNotBlank(url)) {
55+
final HyperlinkLabel link = new HyperlinkLabel();
5556
this.links.add(new JToolBar.Separator());
56-
link.setHyperlinkText(linkNames.get(type));
57+
link.setHyperlinkText(name);
5758
link.setHyperlinkTarget(url);
5859
this.links.add(new JSeparator(SwingConstants.VERTICAL));
5960
this.links.add(link);

0 commit comments

Comments
 (0)