enable frontend api key gen for no auth mode
This commit is contained in:
parent
c1816bfd16
commit
f8835df636
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ function KnowledgeSourcesPage() {
|
||||||
|
|
||||||
// Fetch API keys
|
// Fetch API keys
|
||||||
const { data: apiKeysData, isLoading: apiKeysLoading } = useGetApiKeysQuery({
|
const { data: apiKeysData, isLoading: apiKeysLoading } = useGetApiKeysQuery({
|
||||||
enabled: isAuthenticated,
|
enabled: isAuthenticated || isNoAuthMode,
|
||||||
});
|
});
|
||||||
|
|
||||||
// API key mutations
|
// API key mutations
|
||||||
|
|
@ -1392,7 +1392,7 @@ function KnowledgeSourcesPage() {
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{/* API Keys Section */}
|
{/* API Keys Section */}
|
||||||
{isAuthenticated && (
|
{(isAuthenticated || isNoAuthMode) && (
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<div className="flex items-center justify-between mb-3">
|
<div className="flex items-center justify-between mb-3">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue