Skip to content

Commit

Permalink
Fix to show topology view for unprivileged users
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-phillips-18 committed Mar 31, 2020
1 parent 87db3e7 commit 71f14b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Controller: React.FC<ControllerProps> = ({

React.useEffect(() => {
const count = resources?.secrets?.data?.length ?? 0;
if (count !== secretCount.current) {
if (count !== secretCount.current || resources.secrets?.loadError) {
secretCount.current = count;
if (count === 0) {
setHelmResourcesMap({});
Expand Down

0 comments on commit 71f14b0

Please sign in to comment.