diff --git a/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue b/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue index 5baef6e01..450f40e56 100644 --- a/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue +++ b/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue @@ -46,6 +46,8 @@ export default class AccountDropdown extends Vue { * Performs logout on backend than clears all user information from store and local storage. */ public async onLogoutClick(): Promise { + await this.$router.push(RouteConfig.Login.path); + try { await this.auth.logout(); } catch (error) { @@ -54,7 +56,6 @@ export default class AccountDropdown extends Vue { return; } - await this.$router.push(RouteConfig.Login.path); await this.$store.dispatch(PM_ACTIONS.CLEAR); await this.$store.dispatch(PROJECTS_ACTIONS.CLEAR); await this.$store.dispatch(USER_ACTIONS.CLEAR); diff --git a/web/satellite/src/components/objects/BucketsView.vue b/web/satellite/src/components/objects/BucketsView.vue new file mode 100644 index 000000000..41c92a85c --- /dev/null +++ b/web/satellite/src/components/objects/BucketsView.vue @@ -0,0 +1,98 @@ +// Copyright (C) 2021 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/satellite/src/components/objects/CreatePassphrase.vue b/web/satellite/src/components/objects/CreatePassphrase.vue index 79025dbff..ec2720175 100644 --- a/web/satellite/src/components/objects/CreatePassphrase.vue +++ b/web/satellite/src/components/objects/CreatePassphrase.vue @@ -3,11 +3,14 @@ @@ -54,13 +57,36 @@ export default class CreatePassphrase extends Vue { this.isLoading = false; - this.$router.push(RouteConfig.UploadFile.path); + this.$router.push({ + name: RouteConfig.BucketsManagement.name, + params: { + passphrase: this.passphrase, + }, + }); } } diff --git a/web/satellite/src/components/objects/EnterPassphrase.vue b/web/satellite/src/components/objects/EnterPassphrase.vue index 261a0b19b..607ee120b 100644 --- a/web/satellite/src/components/objects/EnterPassphrase.vue +++ b/web/satellite/src/components/objects/EnterPassphrase.vue @@ -3,61 +3,64 @@