mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-22 08:45:44 +02:00
fix movie request page not loading
This commit is contained in:
@@ -11,8 +11,10 @@
|
||||
import type { User } from '$lib/types';
|
||||
|
||||
let currentUser: () => User = getContext('user');
|
||||
let users: User[] = $derived(page.data.users.filter((user: User) => user.id !== currentUser().id));
|
||||
$inspect(users)
|
||||
let users: User[] = $derived(
|
||||
page.data.users.filter((user: User) => user.id !== currentUser().id)
|
||||
);
|
||||
$inspect(users);
|
||||
console.log('Current user:', currentUser());
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user