mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-02 17:38:04 +02:00
Various Nits (#3228)
This commit is contained in:
@@ -414,7 +414,6 @@ export function AssistantEditor({
|
|||||||
}
|
}
|
||||||
|
|
||||||
await refreshAssistants();
|
await refreshAssistants();
|
||||||
console.log("redirectType", redirectType);
|
|
||||||
router.push(
|
router.push(
|
||||||
redirectType === SuccessfulPersonaUpdateRedirectType.ADMIN
|
redirectType === SuccessfulPersonaUpdateRedirectType.ADMIN
|
||||||
? `/admin/assistants?u=${Date.now()}`
|
? `/admin/assistants?u=${Date.now()}`
|
||||||
|
@@ -98,10 +98,8 @@ export const AssistantsProvider: React.FC<{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (allResponse.ok) {
|
if (allResponse.ok) {
|
||||||
console.log("allResponse", allResponse);
|
|
||||||
const allPersonas = await allResponse.json();
|
const allPersonas = await allResponse.json();
|
||||||
setAllAssistants(allPersonas);
|
setAllAssistants(allPersonas);
|
||||||
console.log("allAssistants", allAssistants);
|
|
||||||
} else {
|
} else {
|
||||||
console.error("Error fetching personas:", allResponse);
|
console.error("Error fetching personas:", allResponse);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user