1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-27 05:11:11 +02:00

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

@ -16,7 +16,10 @@
let loading = false;
let oauthLoading = true;
const dispatch = createEventDispatcher();
const dispatch = createEventDispatcher<{
success: void;
firstLogin: void;
}>();
onMount(async () => {
if (!$featureFlags.oauth) {
@ -62,7 +65,7 @@
});
if (!data.isAdmin && data.shouldChangePassword) {
dispatch('first-login');
dispatch('firstLogin');
return;
}