Skip to content

Commit 5d5fe2a

Browse files
author
Leszek
committed
delete reactive property, in case it existed
1 parent ea6d5cf commit 5d5fe2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/vuefire.js

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function bind (vm, key, source) {
110110
*/
111111
function bindAsArray (vm, key, source, cancelCallback) {
112112
var array = []
113+
Vue.delete(vm, key)
113114
Vue.util.defineReactive(vm, key, array)
114115

115116
var onAdd = source.on('child_added', function (snapshot, prevKey) {

0 commit comments

Comments
 (0)