Skip to content

Commit

Permalink
Show notifications in sidebar even if testing-module is not in place
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Oct 25, 2024
1 parent 3b870cc commit c02fe50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/core/src/manager/components/sidebar/SidebarBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const SidebarBottomBase = ({ api, notifications = [], status = {} }: Side
}, [api, testProviders, updateTestProvider, clearState]);

const testProvidersArray = Object.values(testProviders);
if (!hasWarnings && !hasErrors && !testProvidersArray.length) {
if (!hasWarnings && !hasErrors && !testProvidersArray.length && !notifications.length) {
return null;
}

Expand Down

0 comments on commit c02fe50

Please sign in to comment.