mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
fix avatar upload
This commit is contained in:
committed by
Zurdi
parent
09910b04b9
commit
2eac09faea
@@ -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)
|
||||
|
||||
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user