We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a43b9df commit 2e3b752Copy full SHA for 2e3b752
src/make-find-mixin.js
@@ -59,7 +59,14 @@ export default function makeFindMixin (options) {
59
},
60
methods: {
61
[FIND_ACTION] (params) {
62
- const paramsToUse = params || this[FETCH_PARAMS] || this[PARAMS]
+ let paramsToUse
63
+ if (params) {
64
+ paramsToUse = params
65
+ } else if (this[FETCH_PARAMS] || this[FETCH_PARAMS] === null) {
66
+ paramsToUse = this[FETCH_PARAMS]
67
+ } else {
68
+ paramsToUse = this[PARAMS]
69
+ }
70
71
if (!this[LOCAL]) {
72
if (typeof this[QUERY_WHEN] === 'function' ? this[QUERY_WHEN](paramsToUse) : this[QUERY_WHEN]) {
0 commit comments