wip: zen
This commit is contained in:
parent
cc590364e9
commit
4dda7cc6a4
1 changed files with 3 additions and 3 deletions
|
|
@ -145,8 +145,8 @@ function MemberRow(props: { member: any; workspaceID: string; actorID: string; a
|
||||||
month: "long",
|
month: "long",
|
||||||
timeZone: "UTC",
|
timeZone: "UTC",
|
||||||
})
|
})
|
||||||
if (current !== lastUsed) return 0
|
const usage = current === lastUsed ? (props.member.monthlyUsage ?? 0) : 0
|
||||||
return ((props.member.monthlyUsage ?? 0) / 100000000).toFixed(2)
|
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"
|
||||||
|
|
@ -417,7 +417,7 @@ export function MemberSection() {
|
||||||
<tr>
|
<tr>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
<th>Role</th>
|
<th>Role</th>
|
||||||
<th>Limit</th>
|
<th>Month limit</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
<Show when={data()?.actorRole === "admin"}>
|
<Show when={data()?.actorRole === "admin"}>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue