fritter
fritter copied to clipboard
Rebuild the indexes after changing the current profile
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.
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.
Likely related: When switching profiles, the Notifications tab will continue to show notifications for the profile you just left.
Yeah there's some kind of funky bug with notifications not always being computed for the correct profile