Skip to content

Commit 6c9f60a

Browse files
refactor(site): only display quota if it is higher than 0 (#11979)
1 parent 79d5c23 commit 6c9f60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/WorkspacePage/WorkspaceTopbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export const WorkspaceTopbar: FC<WorkspaceProps> = ({
233233
</TopbarData>
234234
)}
235235

236-
{quota && (
236+
{quota && quota.budget > 0 && (
237237
<TopbarData>
238238
<TopbarIcon>
239239
<Tooltip title="Daily usage">

0 commit comments

Comments
 (0)