await all of the db.settings updates

This commit is contained in:
2024-07-20 07:19:27 -06:00
parent 41a9c65afb
commit 5ad8a2d2ba
10 changed files with 23 additions and 23 deletions

View File

@@ -127,7 +127,7 @@ export default class SharedPhotoView extends Vue {
recordProfile() {
(this.$refs.photoDialog as PhotoDialog).open(
async (imgUrl) => {
db.settings.update(MASTER_SETTINGS_KEY, {
await db.settings.update(MASTER_SETTINGS_KEY, {
profileImageUrl: imgUrl,
});
this.$router.push({ name: "account" });