WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED
| @@ -86,7 +86,7 @@ export const event_types = { | |||
| 86 | PRESET_CHANGED: 'preset_changed', | 86 | PRESET_CHANGED: 'preset_changed', |
| 87 | PRESET_DELETED: 'preset_deleted', | 87 | PRESET_DELETED: 'preset_deleted', |
| 88 | MAIN_API_CHANGED: 'main_api_changed', | 88 | MAIN_API_CHANGED: 'main_api_changed', |
| 89 | WORLDINFO_SORTING: 'worldinfo_sorting', | 89 | WORLDINFO_ENTRIES_LOADED: 'worldinfo_entries_loaded', |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | export const eventSource = new EventEmitter([event_types.APP_READY]); | 92 | export const eventSource = new EventEmitter([event_types.APP_READY]); |
| @@ -4107,7 +4107,7 @@ export async function getSortedEntries() { | |||
| 4107 | getPersonaLore(), | 4107 | getPersonaLore(), |
| 4108 | ]); | 4108 | ]); |
| 4109 | 4109 | ||
| 4110 | await eventSource.emit(event_types.WORLDINFO_SORTING, { globalLore, characterLore, chatLore, personaLore }); | 4110 | await eventSource.emit(event_types.WORLDINFO_ENTRIES_LOADED, { globalLore, characterLore, chatLore, personaLore }); |
| 4111 | 4111 | ||
| 4112 | let entries; | 4112 | let entries; |
| 4113 | 4113 | ||