File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -550,9 +550,9 @@ The `feathers` middleware will redirect any user in a non public page to the log
550
550
export default function ({ store, redirect, route }) {
551
551
const { auth } = store .state
552
552
if (auth .publicPages .length > 0 && ! auth .publicPages .includes (route .name ) && ! auth .payload ) {
553
- return redirect (' login' )
553
+ return redirect (' / login' )
554
554
} else if (auth .publicPages .length > 0 && auth .publicPages .includes (route .name ) && auth .payload ) {
555
- return redirect (' feed' )
555
+ return redirect (' / feed' )
556
556
}
557
557
}
558
558
```
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ export default makeAuthPlugin({ userService: 'users' })
223
223
This example uses Webpack's ` require.context ` feature. If you're not using Webpack, you'll need to manually import each module and list them in the ` plugins ` array.
224
224
225
225
``` js
226
- // src/store/store .js
226
+ // src/store/index .js
227
227
import Vue from ' vue'
228
228
import Vuex from ' vuex'
229
229
import { FeathersVuex } from ' ../feathers-client'
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export default function find(options: UseFindOptions): UseFindData {
97
97
items : computed < any [ ] > ( ( ) => {
98
98
const getterParams = unwrapParams ( params )
99
99
100
- if ( getterParams . paginate ) {
100
+ if ( getterParams && getterParams . paginate ) {
101
101
const serviceState = model . store . state [ model . servicePath ]
102
102
const { defaultSkip, defaultLimit } = serviceState . pagination
103
103
const skip = getterParams . query . $skip || defaultSkip
You can’t perform that action at this time.
0 commit comments