Skip to content

Commit

Permalink
Rename 'spaceId' to 'storageId' after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Mar 16, 2022
1 parent 2cba714 commit 0658a4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export default {
store.getters.getToken
)
const loadSpaceTask = useTask(function* (signal, ref, spaceId) {
const graphResponse = yield graphClient.drives.getDrive(spaceId)
const loadSpaceTask = useTask(function* (signal, ref, storageId) {
const graphResponse = yield graphClient.drives.getDrive(storageId)
if (!graphResponse.data) {
return
Expand Down Expand Up @@ -289,8 +289,8 @@ export default {
}
},
async mounted() {
if (this.$route.params.spaceId) {
await this.loadSpaceTask.perform(this, this.$route.params.spaceId)
if (this.$route.params.storageId) {
await this.loadSpaceTask.perform(this, this.$route.params.storageId)
if (this.showSpaceMembers) {
this.loadSpaceMembersTask.perform(this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function getShallowMountedWrapper(data, loading = false) {
mocks: {
$route: {
params: {
spaceId: 1
storageId: 1
}
}
}
Expand Down

0 comments on commit 0658a4d

Please sign in to comment.