File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,17 +240,17 @@ It's also possible to customize this behavior when _binding_ by using the `reset
240240` ` ` js
241241// using a boolean value for reset
242242await this .$rtdbBind (' user' , userRef)
243- this .$rtdbBind (' user' , otherUserRef, { reset: false })
243+ this .$rtdbBind (' user' , otherUserRef, { reset: true })
244244// while the user is fetched
245- // this.user === { name: 'Eduardo' }
245+ // this.user === null
246246` ` `
247247
248248` ` ` js
249249// using a boolean value for reset
250250await this .$firestoreBind (' user' , userRef)
251- this .$firestoreBind (' user' , otherUserRef, { reset: false })
251+ this .$firestoreBind (' user' , otherUserRef, { reset: true })
252252// while the user is fetched
253- // this.user === { name: 'Eduardo' }
253+ // this.user === null
254254` ` `
255255
256256</FirebaseExample>
You can’t perform that action at this time.
0 commit comments