Skip to content

Commit

Permalink
Remove vuex-router-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jan 17, 2023
1 parent 952dd6a commit d23e35d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions changelog/unreleased/change-update-vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ https://github.com/owncloud/web/pull/8198
https://github.com/owncloud/web/pull/8213
https://github.com/owncloud/web/pull/8214
https://github.com/owncloud/web/pull/8221
https://github.com/owncloud/web/pull/8256
1 change: 0 additions & 1 deletion packages/web-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"vue-router": "4.1.6",
"vue-select": "4.0.0-beta.6",
"vuex": "4.1.0",
"vuex-router-sync": "^5.0.0",
"web-client": "npm:@ownclouders/web-client",
"web-pkg": "npm:@ownclouders/web-pkg",
"web-runtime": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/web-runtime/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default defineComponent({
}
},
computed: {
...mapState(['route', 'user', 'modal', 'sidebar']),
...mapState(['user', 'modal', 'sidebar']),
...mapGetters(['configuration', 'capabilities', 'getSettingsValue']),
...mapGetters('runtime/auth', ['isUserContextReady', 'isPublicLinkContextReady']),
layout() {
Expand Down
3 changes: 0 additions & 3 deletions packages/web-runtime/src/container/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Router } from 'vue-router'
import Vue from 'vue'
import { loadTheme } from '../helpers/theme'
import OwnCloud from 'owncloud-sdk'
import { sync as routerSync } from 'vuex-router-sync'
import getTextPlugin from 'vue-gettext'
import set from 'lodash-es/set'
import { getBackendVersion, getWebVersion } from './versions'
Expand Down Expand Up @@ -360,8 +359,6 @@ export const announceDefaults = ({
redirect: () => route
})
}

routerSync(store, router)
}

/**
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d23e35d

Please sign in to comment.