diff --git a/web/satellite/src/components/accessGrants/CreateAccessGrant.vue b/web/satellite/src/components/accessGrants/CreateAccessGrant.vue index 0195a4dc3..080c5ba8f 100644 --- a/web/satellite/src/components/accessGrants/CreateAccessGrant.vue +++ b/web/satellite/src/components/accessGrants/CreateAccessGrant.vue @@ -42,7 +42,7 @@ export default class CreateAccessGrant extends Vue { * Indicates if progress bar is hidden. */ public get isProgressBarHidden(): boolean { - return this.$route.name === RouteConfig.CLIStep.name || this.$route.name === RouteConfig.UploadStep.name; + return this.$route.name === RouteConfig.CLIStep.name; } } diff --git a/web/satellite/src/components/accessGrants/steps/CLIStep.vue b/web/satellite/src/components/accessGrants/steps/CLIStep.vue index e840d3530..7d80cc39e 100644 --- a/web/satellite/src/components/accessGrants/steps/CLIStep.vue +++ b/web/satellite/src/components/accessGrants/steps/CLIStep.vue @@ -72,18 +72,7 @@ export default class CLIStep extends Vue { * Redirects to upload step. */ public onDoneClick(): void { - if (this.isOnboardingTour) { - this.$router.push(RouteConfig.ProjectDashboard.path); - - return; - } - - this.$router.push({ - name: RouteConfig.AccessGrants.with(RouteConfig.CreateAccessGrant.with(RouteConfig.UploadStep)).name, - params: { - isUplinkSectionEnabled: 'true', - }, - }); + this.isOnboardingTour ? this.$router.push(RouteConfig.ProjectDashboard.path) : this.$router.push(RouteConfig.AccessGrants.path); } /** diff --git a/web/satellite/src/components/accessGrants/steps/ResultStep.vue b/web/satellite/src/components/accessGrants/steps/ResultStep.vue index 627375b6d..e8e14c0c9 100644 --- a/web/satellite/src/components/accessGrants/steps/ResultStep.vue +++ b/web/satellite/src/components/accessGrants/steps/ResultStep.vue @@ -55,7 +55,7 @@ diff --git a/web/satellite/src/components/accessGrants/steps/UploadStep.vue b/web/satellite/src/components/accessGrants/steps/UploadStep.vue deleted file mode 100644 index 669cc6b1b..000000000 --- a/web/satellite/src/components/accessGrants/steps/UploadStep.vue +++ /dev/null @@ -1,229 +0,0 @@ -// Copyright (C) 2020 Storj Labs, Inc. -// See LICENSE for copying information. - - - - - - \ No newline at end of file diff --git a/web/satellite/src/components/common/VInfoBar.vue b/web/satellite/src/components/common/VInfoBar.vue index 8bc2afecf..6ba462939 100644 --- a/web/satellite/src/components/common/VInfoBar.vue +++ b/web/satellite/src/components/common/VInfoBar.vue @@ -74,6 +74,7 @@ export default class VInfoBar extends Vue { margin-right: 5px; font-size: 14px; line-height: 17px; + white-space: nowrap; } &__button { @@ -101,4 +102,20 @@ export default class VInfoBar extends Vue { background-color: #2582ff; color: #fff; } + + @media screen and (max-width: 768px) { + + .info-bar { + + &__info-area { + + &__first-value, + &__second-value, + &__first-description, + &__second-description { + white-space: unset; + } + } + } + } diff --git a/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue b/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue index aff397d73..5baef6e01 100644 --- a/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue +++ b/web/satellite/src/components/header/accountDropdown/AccountDropdown.vue @@ -59,6 +59,7 @@ export default class AccountDropdown extends Vue { await this.$store.dispatch(PROJECTS_ACTIONS.CLEAR); await this.$store.dispatch(USER_ACTIONS.CLEAR); await this.$store.dispatch(ACCESS_GRANTS_ACTIONS.CLEAR); + await this.$store.dispatch(ACCESS_GRANTS_ACTIONS.STOP_ACCESS_GRANTS_WEB_WORKER); await this.$store.dispatch(NOTIFICATION_ACTIONS.CLEAR); await this.$store.dispatch(BUCKET_ACTIONS.CLEAR); await this.$store.dispatch(APP_STATE_ACTIONS.CLOSE_POPUPS); diff --git a/web/satellite/src/components/projectsList/ProjectsList.vue b/web/satellite/src/components/projectsList/ProjectsList.vue index 4a28bfc1f..4512f0f5f 100644 --- a/web/satellite/src/components/projectsList/ProjectsList.vue +++ b/web/satellite/src/components/projectsList/ProjectsList.vue @@ -49,7 +49,7 @@ import { ACCESS_GRANTS_ACTIONS } from '@/store/modules/accessGrants'; import { BUCKET_ACTIONS } from '@/store/modules/buckets'; import { PAYMENTS_ACTIONS } from '@/store/modules/payments'; import { PROJECTS_ACTIONS } from '@/store/modules/projects'; -import { Project, ProjectsCursor, ProjectsPage } from '@/types/projects'; +import { Project, ProjectsPage } from '@/types/projects'; import { PM_ACTIONS } from '@/utils/constants/actionNames'; import { LocalData } from '@/utils/localData'; @@ -67,7 +67,6 @@ const { }) export default class Projects extends Vue { private currentPageNumber: number = 1; - private currentProjectsPage: ProjectsPage = new ProjectsPage(); private FIRST_PAGE = 1; /** @@ -83,7 +82,7 @@ export default class Projects extends Vue { /** * Fetches owned projects page page by clicked page number. - * @param index + * @param page */ public async onPageClick(page: number): Promise { this.currentPageNumber = page; @@ -142,7 +141,6 @@ export default class Projects extends Vue {