mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix persona UI states sometimes not updating
This commit is contained in:
@@ -1956,6 +1956,7 @@ export async function initPersonas() {
|
|||||||
convertCharacterToPersona();
|
convertCharacterToPersona();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
eventSource.on(event_types.CHAT_CHANGED, updatePersonaUIStates);
|
||||||
eventSource.on(event_types.CHAT_CHANGED, loadPersonaForCurrentChat);
|
eventSource.on(event_types.CHAT_CHANGED, loadPersonaForCurrentChat);
|
||||||
switchPersonaGridView();
|
switchPersonaGridView();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user