Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Rebuild the indexes after changing the current profile #4

Open
pfrazee opened this issue Jan 8, 2018 · 3 comments
Open

Rebuild the indexes after changing the current profile #4

pfrazee opened this issue Jan 8, 2018 · 3 comments

Comments

@pfrazee
Copy link
Member

pfrazee commented Jan 8, 2018

Tara's currently adding a tool to change the active profile. We need WebDB to add a 'reset indexes' function, and then we need to call that method after the change.

@pfrazee
Copy link
Member Author

pfrazee commented Jan 8, 2018

Here's how we can do this:

await fritter.db.delete()

That'll clear out the IndexedDB completely. Then you'll want to reload the page.

@cinnamon-bun
Copy link

Likely related:
When switching profiles, the Notifications tab will continue to show notifications for the profile you just left.

@pfrazee
Copy link
Member Author

pfrazee commented Jan 27, 2018

Yeah there's some kind of funky bug with notifications not always being computed for the correct profile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants