mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
1 parent
6f33a251f1
commit
f23f8d8594
2 files changed
+2
-2
No files matched your search
@@ -79,7 +79,7 @@ export const SecretAPIKeys = () => {
|
||||
isError: isErrorApiKeys,
|
||||
} = useAPIKeysQuery({ projectRef, reveal: false }, { enabled: canReadAPIKeys })
|
||||
|
||||
const hideApiKeyLastUsed = useFlag('HideApiKeyLastUsed')
|
||||
const hideApiKeyLastUsed = useFlag('HideApiKeyLastUsed') ?? true
|
||||
const { data: lastSeen, isLoading: isLoadingLastSeen } = useLastSeen(
|
||||
projectRef ?? '',
|
||||
!hideApiKeyLastUsed
|
||||
|
||||
@@ -51,7 +51,7 @@ export const DisplayApiSettings = ({
|
||||
// api keys should not be empty. However it can be populated with a delay on project creation
|
||||
const isApiKeysEmpty = apiKeys.length === 0
|
||||
|
||||
const hideApiKeyLastUsed = useFlag('HideApiKeyLastUsed')
|
||||
const hideApiKeyLastUsed = useFlag('HideApiKeyLastUsed') ?? true
|
||||
const { isLoading: isLoadingLastUsed, logData: lastUsedLogData } = useLastUsedAPIKeysLogQuery(
|
||||
projectRef!,
|
||||
!hideApiKeyLastUsed
|
||||
|
||||
Reference in new issue
Block a user