Closed dranzd closed 6 years ago
Hey @dranzd,
Seems that should be the case, probably i've missed that.
Please send a pull-request and I will push the fix and publish on npm.
Regards Sadi
Hi @sadiqevani,
Thanks for confirming that.
I am unable to fix the issue as my fresh installation's test keeps on failing saying that
Error: Invalid Adapter: undefined
If this is not expected and the test on your end passes, I don't think I can send a PR as I'm stuck with that part. I've tried to debug it but I'm unable to find the issue. My JS skill is very basic and that's probably one of the issue.
If it's an easy fix on your end I won't mind if you push the fix. If not, please point me to the right direction to make that test pass and I'll try to send a PR.
Thanks, Dranzd
@dranzd Done.
Let me know if this will fix the issue.
Regards Sadi
@sadiqevani That fixes the issue. Thank you!
I'm using this package on creating a desktop app using electron and electron-vue. Everything is working fine but I'm getting an error when retrieving the database using the $bucket when I don't provide the onComplete property in the bucket configuration.
Below is the sample error I'm getting:
Tried to debug it and the problem seems to be around this line https://github.com/QurateInc/vue-pouch-db/blob/71311a069857ea67593beea8e0c72852af80e73b/src/index.js#L179
Is it correct that the line below uses ||
or should it use &&?
If that was a typo, I would be happy to provide a PR.