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

Fix dashboard Library icon

This commit is contained in:
grafixeyehero 2019-05-16 01:54:01 +03:00
parent 0f075fe6c4
commit 71d59feb76

View file

@ -220,22 +220,27 @@ define(["jQuery", "apphost", "scripts/taskbutton", "loading", "libraryMenu", "gl
function getIcon(type) {
switch (type) {
case "movies":
return "local_movies";
return "video_library";
case "music":
return "library_music";
case "photos":
return "photo";
return "photo_library";
case "livetv":
case "tvshows":
return "live_tv";
case "tvshows":
return "tv";
case "trailers":
return "local_movies";
case "homevideos":
return "video_library";
case "musicvideos":
return "video_library";
case "books":
return "library_books";
case "channels":
return "videocam";
case "playlists":
return "view_list";
default:
return "folder";
}