diff options
author | Konstantin <sulwirld@gmail.com> | 2023-06-14 17:23:14 +0300 |
---|---|---|
committer | sulwirld <sulwirld@gmail.com> | 2023-06-20 21:30:40 +0300 |
commit | fb6c6de90cba53dff84d687d6b3f2b07b822b1dc (patch) | |
tree | 5d16a32c5458f469caf27402a94f96e63d239987 /src/eventBus.js | |
parent | af76e2bc3e756a5325478cada4e643d82e7b466e (diff) | |
download | webui-vue-fb6c6de90cba53dff84d687d6b3f2b07b822b1dc.tar.xz |
Fix kvm session and add event bus
Bug description:
Before this commit KVM window wasn't being closed
after logging out
Test: Step1. Launch webui on browser and see KVM page on /#/operations/kvm.
Step2. Open additional window using 'Open in new tab'.
Step3. Navigate to another page. For example, /#/operations/key-clear.
Step4. Logout. Window is still open.
Change-Id: Ife79ebca41eb4d588c0b8f4fae06135420eda155
Signed-off-by: Konstantin Maskov <sulwirld@gmail.com>
Diffstat (limited to 'src/eventBus.js')
-rw-r--r-- | src/eventBus.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eventBus.js b/src/eventBus.js new file mode 100644 index 00000000..c31c98a5 --- /dev/null +++ b/src/eventBus.js @@ -0,0 +1,5 @@ +import Vue from 'vue'; + +const eventBus = new Vue(); + +export default eventBus; |