mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(site): only display quota if it is higher than 0 (#11979)
This commit is contained in:
@@ -233,7 +233,7 @@ export const WorkspaceTopbar: FC<WorkspaceProps> = ({
|
||||
</TopbarData>
|
||||
)}
|
||||
|
||||
{quota && (
|
||||
{quota && quota.budget > 0 && (
|
||||
<TopbarData>
|
||||
<TopbarIcon>
|
||||
<Tooltip title="Daily usage">
|
||||
|
||||
Reference in New Issue
Block a user