fritter icon indicating copy to clipboard operation
fritter copied to clipboard

Rebuild the indexes after changing the current profile

Open pfrazee opened this issue 8 years ago • 3 comments

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 avatar Jan 08 '18 17:01 pfrazee

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.

pfrazee avatar Jan 08 '18 21:01 pfrazee

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

cinnamon-bun avatar Jan 27 '18 03:01 cinnamon-bun

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

pfrazee avatar Jan 27 '18 15:01 pfrazee