Remove last_login and last_activity from $app.debugUserDiff.

This commit is contained in:
Natsumi
2022-06-24 23:43:06 +12:00
parent 226af63f2a
commit d2a2e7e275

View File

@@ -1544,10 +1544,14 @@ speechSynthesis.getVoices();
props props
}); });
if ($app.debugUserDiff) { if ($app.debugUserDiff) {
delete props.last_login;
delete props.last_activity;
if (Object.keys(props).length !== 0) {
console.log('>', ref.displayName, props); console.log('>', ref.displayName, props);
} }
} }
} }
}
this.$emit('USER:APPLY', ref); this.$emit('USER:APPLY', ref);
return ref; return ref;
}; };