Skip to content

Commit

Permalink
fix(console): Fixed DeviceSessionPermission reference in kapua-consol…
Browse files Browse the repository at this point in the history
…e-module-data module

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Jul 3, 2023
1 parent ab22f2b commit 2ad2314
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
4 changes: 4 additions & 0 deletions console/module/data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
<groupId>org.eclipse.kapua</groupId>
<artifactId>kapua-console-module-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.kapua</groupId>
<artifactId>kapua-console-module-device</artifactId>
</dependency>

<!-- Internal dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected void onRender(Element parent, int index) {

channelTabItem = new TopicsTabItem(currentSession);
tabsPanel.add(channelTabItem);
if(currentSession.hasPermission(DeviceSessionPermission.read())) {
if (currentSession.hasPermission(DeviceSessionPermission.read())) {
deviceTabItem = new DeviceTabItem(currentSession);
tabsPanel.add(deviceTabItem);
assetTabItem = new AssetTabItem(currentSession);
Expand Down

This file was deleted.

0 comments on commit 2ad2314

Please sign in to comment.