Skip to content

Commit

Permalink
Use tab icons in plugin sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlefs committed Aug 2, 2024
1 parent 2365e88 commit ad732c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/plugin-sidebar/plugin-sidebar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export class PluginSidebarComponent implements OnInit, OnDestroy {
name: tabResponse.data.name,
key: tabResponse.data.self.href,
open: false,
icon: tabResponse.data.icon,
description: tabResponse.data.description,
link: tabResponse.data.plugins,
});
Expand Down Expand Up @@ -224,11 +225,13 @@ export class PluginSidebarComponent implements OnInit, OnDestroy {
key: tabResponse.data.self.href,
open: false,
description: tabResponse.data.description,
icon: tabResponse.data.icon,
link: tabResponse.data.plugins,
});
} else {
this.pluginGroups[tabIndex].name = tabResponse.data.name;
this.pluginGroups[tabIndex].description = tabResponse.data.description;
this.pluginGroups[tabIndex].icon = tabResponse.data.icon;
}
if (tabResponse.data.location !== 'workspace') {
this.pluginGroups.splice(tabIndex, 1);
Expand Down Expand Up @@ -319,6 +322,7 @@ export class PluginSidebarComponent implements OnInit, OnDestroy {
key: tab.data.self.href,
open: true,
description: tab.data.description,
icon: tab.data.icon,
link: tab.data.plugins,
});
});
Expand Down

0 comments on commit ad732c2

Please sign in to comment.