mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-22 05:45:20 +02:00
fix movie request page not loading
This commit is contained in:
@@ -53,13 +53,14 @@
|
||||
} catch (error) {
|
||||
console.error('Error updating user:', error);
|
||||
toast.error(
|
||||
'Error updating user: ' + (error instanceof Error ? error.message : String(error))
|
||||
'Error updating user: ' + (error instanceof Error ? error.message : String(error))
|
||||
);
|
||||
} finally {
|
||||
newPassword = '';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<Table.Root>
|
||||
<Table.Caption>A list of all users.</Table.Caption>
|
||||
<Table.Header>
|
||||
@@ -175,11 +176,11 @@
|
||||
<div>
|
||||
<Label class="mb-1 block text-sm font-medium" for="superuser">Password</Label>
|
||||
<Input
|
||||
bind:value={newEmail}
|
||||
class="w-full"
|
||||
id="email"
|
||||
placeholder={selectedUser?.email}
|
||||
type="text"
|
||||
bind:value={newEmail}
|
||||
class="w-full"
|
||||
id="email"
|
||||
placeholder={selectedUser?.email}
|
||||
type="text"
|
||||
/>
|
||||
</div>
|
||||
<!-- Password -->
|
||||
|
||||
Reference in New Issue
Block a user