You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save localStorage backed store values when calling `update`; npm audi…
…t fix
The `localStorageBackedStore` wraps `set`, and I had incorrectly thought `update` called `set` in the end, but that doesn't seem to be the case because calls to `update` weren't being saved to localStorage. This meant altering favorites in the sidebar wouldn't save if you refreshed the page.
When resigning as a mod, hide the button afterwards
Now checking the community context to see if the logged in user is a mod, instead of `$siteMeta`, as we only update the community context when that happens.
To cover all the bases it also will remove it from siteMeta if the user is resigning, so we hide all the other moderation buttons.