1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix dashboard import

This commit is contained in:
RoboMagus 2024-03-11 13:48:54 +01:00 committed by GitHub
parent 4388e5e29a
commit 5f137b174d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,7 +304,7 @@ function askForExit() {
return;
}
import('../scripts/clientUtils').then(() => {
import('../utils/dashboard').then(() => {
import('../components/actionSheet/actionSheet').then((actionsheet) => {
const userId = Dashboard.getCurrentUserId();
const logoutEntry = userId ? [{ id: 'logout', name: globalize.translate('ButtonSignOut') }] : [];