fix avatar upload

This commit is contained in:
Georges-Antoine Assi
2024-01-08 09:43:46 -05:00
committed by Zurdi
parent 09910b04b9
commit 2eac09faea
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# v2.2.2 (_08-01-2024_)
# v2.3.0 (_08-01-2024_)
## Added
- Now ``platforms`` can be ``deleted`` from the gallery. Closes [#567](https://github.com/zurdi15/romm/issues/567)
@@ -8,8 +8,8 @@
## Fixed
- ``Not identified`` games are no longer being grouped when ``group roms`` option is enabled.
- Some other minor fixes.
- Changes in the ``config`` file from one to other platform are now more consistent. Closes [#567](https://github.com/zurdi15/romm/issues/567)
- Some other minor fixes.
## Changed
- File extensions now can have up to ``100`` characters. Closes [#531](https://github.com/zurdi15/romm/issues/531)

View File

@@ -13,7 +13,7 @@ const usersStore = storeUsers();
const emitter = inject<Emitter<Events>>("emitter");
emitter?.on("showEditUserDialog", (userToEdit) => {
user.value = userToEdit;
user.value = { ...userToEdit, avatar: undefined };
show.value = true;
});
@@ -126,7 +126,7 @@ function editUser() {
<v-col>
<v-file-input
class="text-truncate"
:v-model="user.avatar ?? undefined"
v-model="user.avatar"
label="Avatar"
prepend-inner-icon="mdi-image"
prepend-icon=""