mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-06-16 21:03:58 +08:00
fix(quota): hide duplicate idle card refresh action
This commit is contained in:
@@ -152,7 +152,7 @@ export function QuotaCard<TState extends QuotaStatusState>({
|
||||
)}
|
||||
</div>
|
||||
|
||||
{onRefresh && (
|
||||
{onRefresh && quotaStatus !== 'idle' && (
|
||||
<div className={styles.quotaCardActions}>
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user