diff --git a/web/satellite/src/components/accessGrants/SortingHeader.vue b/web/satellite/src/components/accessGrants/SortingHeader.vue index 776106d05..e2880058b 100644 --- a/web/satellite/src/components/accessGrants/SortingHeader.vue +++ b/web/satellite/src/components/accessGrants/SortingHeader.vue @@ -37,6 +37,8 @@ export default class SortAccessGrantsHeader extends Vue { @Prop({default: () => new Promise(() => false)}) private readonly onHeaderClickCallback: OnHeaderClickCallback; + public AccessGrantsOrderBy = AccessGrantsOrderBy; + public sortBy: AccessGrantsOrderBy = AccessGrantsOrderBy.NAME; public sortDirection: SortDirection = SortDirection.ASCENDING; diff --git a/web/satellite/src/components/accessGrants/permissions/BucketsSelection.vue b/web/satellite/src/components/accessGrants/permissions/BucketsSelection.vue index 4f6f6ce9e..a242644b0 100644 --- a/web/satellite/src/components/accessGrants/permissions/BucketsSelection.vue +++ b/web/satellite/src/components/accessGrants/permissions/BucketsSelection.vue @@ -64,26 +64,12 @@ export default class BucketsSelection extends Vue { return this.storedBucketNames.length.toString(); } - /** - * Returns selected bucket names from store or all bucket names. - */ - public get selectedBucketNames(): string[] { - return this.storedBucketNames.length ? this.storedBucketNames : this.allBucketNames; - } - /** * Returns stored selected bucket names. */ - public get storedBucketNames(): string[] { + private get storedBucketNames(): string[] { return this.$store.state.accessGrantsModule.selectedBucketNames; } - - /** - * Returns all bucket names. - */ - public get allBucketNames(): string[] { - return this.$store.state.bucketUsageModule.allBucketNames; - } } diff --git a/web/satellite/src/components/accessGrants/steps/PermissionsStep.vue b/web/satellite/src/components/accessGrants/steps/PermissionsStep.vue index fe843b59f..6aa85ca5c 100644 --- a/web/satellite/src/components/accessGrants/steps/PermissionsStep.vue +++ b/web/satellite/src/components/accessGrants/steps/PermissionsStep.vue @@ -11,12 +11,12 @@