Skip to content

Commit

Permalink
Fix UI
Browse files Browse the repository at this point in the history
  • Loading branch information
talarian1 committed Oct 12, 2023
1 parent d203bd6 commit 29a4099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/jfrog/ide/idea/scan/ScanManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ public void startScan() {
// Cache tree only if no errors occurred during scan.
if (scanners.values().stream().anyMatch(ScannerBase::isScanErrorOccurred)) {
componentsTree.deleteCachedTree();
componentsTree.setScanErrorEmptyText();
} else if (scanners.values().stream().anyMatch(ScannerBase::isScanCanceled)) {
project.getMessageBus().syncPublisher(ApplicationEvents.ON_SCAN_LOCAL_CANCELED).update();
} else {
componentsTree.cacheTree();
componentsTree.setScanErrorEmptyText();
componentsTree.setNoIssuesEmptyText();
}
componentsTree.setNoIssuesEmptyText();
} catch (JFrogInactiveEnvironmentException e) {
handleJfrogInactiveEnvironment(e.getRedirectUrl());
componentsTree.setScanErrorEmptyText();
Expand Down

0 comments on commit 29a4099

Please sign in to comment.