Fix Web UI trying to save user settings when logged out (#30324)

This commit is contained in:
Claire 2024-05-16 15:01:01 +02:00 committed by GitHub
parent 1b6eb2c7f0
commit 66906a1bc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}