Skip to content

Commit c883015

Browse files
Runeiiposva
authored andcommitted
Ensure options argument is passed to bind (#148)
Fixes issue with maxRefDept user option not being acted upon Closes #147
1 parent d65af24 commit c883015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuexfire/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export function firebaseAction (action) {
345345
// get the local state and commit. These may be bound to a module
346346
const { state, commit } = context
347347
context.bindFirebaseRef = (key, ref, options = {}) =>
348-
bind({ state, commit, key, ref })
348+
bind({ state, commit, key, ref }, options)
349349
context.unbindFirebaseRef = (key) =>
350350
unbind({ commit, key })
351351
return action(context, payload)

0 commit comments

Comments
 (0)