fix(web): user management responsive design (#5698)

* fix: user management tailwind

* use top instead of inset-y-0

* add types to createEventDispatcher
This commit is contained in:
martin
2023-12-14 17:55:15 +01:00
committed by GitHub
parent 8e39d389b5
commit f2270ad757
36 changed files with 257 additions and 135 deletions

View File

@@ -8,7 +8,10 @@
export let album: AlbumResponseDto;
const dispatch = createEventDispatcher();
const dispatch = createEventDispatcher<{
editSuccess: void;
cancel: void;
}>();
const editUser = async () => {
try {
@@ -21,7 +24,7 @@
});
if (status === 200) {
dispatch('edit-success');
dispatch('editSuccess');
}
} catch (error) {
handleError(error, 'Unable to update user');