mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 10:14:22 +01:00
wip: zen
This commit is contained in:
@@ -130,12 +130,11 @@ function MemberRow(props: { member: any; workspaceID: string; actorID: string; a
|
|||||||
month: "long",
|
month: "long",
|
||||||
timeZone: "UTC",
|
timeZone: "UTC",
|
||||||
})
|
})
|
||||||
const usage = current === lastUsed ? (props.member.monthlyUsage ?? 0) : 0
|
return current === lastUsed ? (props.member.monthlyUsage ?? 0) : 0
|
||||||
return (usage / 100000000).toFixed(2)
|
|
||||||
})()
|
})()
|
||||||
|
|
||||||
const limit = props.member.monthlyLimit ? `$${props.member.monthlyLimit}` : "no limit"
|
const limit = props.member.monthlyLimit ? `$${props.member.monthlyLimit}` : "no limit"
|
||||||
return `$${currentUsage} / ${limit}`
|
return `$${(currentUsage / 100000000).toFixed(2)} / ${limit}`
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user