mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
🐛 Fix issue that OAuth window did not close
This commit is contained in:
@@ -404,10 +404,11 @@ export default mixins(
|
|||||||
message: 'Connected successfully!',
|
message: 'Connected successfully!',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
// Make sure that the event gets removed again
|
// Make sure that the event gets removed again
|
||||||
window.removeEventListener('message', receiveMessage, false);
|
window.removeEventListener('message', receiveMessage, false);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
window.addEventListener('message', receiveMessage, false);
|
window.addEventListener('message', receiveMessage, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user