From 39161fdf4712fd069e77ebec749a661f3f48e046 Mon Sep 17 00:00:00 2001 From: paradajz <2544094+paradajz@users.noreply.github.com> Date: Wed, 25 Jan 2023 03:15:41 +0100 Subject: [PATCH] Playlist view: optionally show comment column (#2073) * playlist view: optionally show genre and comment columns * Remove genre from Playlist columns, as it is not a valid attribute of playlist Co-authored-by: Deluan --- ui/src/playlist/PlaylistList.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/playlist/PlaylistList.js b/ui/src/playlist/PlaylistList.js index 7e6b274e3..9f5667d7b 100644 --- a/ui/src/playlist/PlaylistList.js +++ b/ui/src/playlist/PlaylistList.js @@ -106,6 +106,7 @@ const PlaylistList = (props) => { public: !isXsmall && ( ), + comment: , }), [isDesktop, isXsmall] ) @@ -113,6 +114,7 @@ const PlaylistList = (props) => { const columns = useSelectedFields({ resource: 'playlist', columns: toggleableFields, + defaultOff: ['comment'], }) return (