fix(nc-gui): add missing remove event listner

This commit is contained in:
Ramesh Mane
2025-10-16 14:14:56 +00:00
parent e037215e4d
commit 6d193f4389
20 changed files with 142 additions and 90 deletions

View File

@@ -380,7 +380,7 @@ const handleAddNewConnection = () => {
pageMode.value = IntegrationsPageMode.LIST
}
const eventBusHandler = (event, payload) => {
const eventBusHandler = (event: IntegrationStoreEvents, payload: any) => {
if (event === IntegrationStoreEvents.INTEGRATION_ADD && payload?.id) {
formState.value.fk_integration_id = payload.id
until(() => selectedIntegration.value?.id === payload.id)