mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-19 14:12:54 -05:00
[Glitch] Fix Web UI trying to save user settings when logged out
Port 66906a1bc1fb3934dc101e1d8d7ec4a9ce54a12e to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
061464a563
commit
7b078b46a2
@ -20,7 +20,7 @@ export function changeSetting(path, value) {
|
||||
}
|
||||
|
||||
const debouncedSave = debounce((dispatch, getState) => {
|
||||
if (getState().getIn(['settings', 'saved'])) {
|
||||
if (getState().getIn(['settings', 'saved']) || !getState().getIn(['meta', 'me'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user