Skip to content

Commit

Permalink
feat: Condition to flash warnings no looks at all computed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
iandesj committed Apr 26, 2024
1 parent de8d695 commit 35b8fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/labextension/src/resourceUsage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ResourceUsageStatus extends VDomRenderer<ResourceUsage.Model> {
this.model.diskUnits
} | ${text}`;
}
if (!this.model.usageWarning) {
if (!this.model.usageWarnings.hasWarning) {
return (
<TextItem
title={this._trans.__('Current resource usage')}
Expand Down

0 comments on commit 35b8fdc

Please sign in to comment.