You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/10/28 04:43:43 UTC

[cloudstack-primate] branch master updated: Destroying messages and notifications after logout (#817)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a7cd7e  Destroying messages and notifications after logout (#817)
0a7cd7e is described below

commit 0a7cd7e3160784165f62aad7a15d91f9493ebd56
Author: davidjumani <dj...@gmail.com>
AuthorDate: Wed Oct 28 10:13:35 2020 +0530

    Destroying messages and notifications after logout (#817)
---
 src/store/modules/user.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 6e66c0d..988f7a8 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -237,6 +237,7 @@ const user = {
         Vue.ls.remove(ASYNC_JOB_IDS)
 
         logout(state.token).then(() => {
+          message.destroy()
           if (cloudianUrl) {
             window.location.href = cloudianUrl
           } else {