Public Access
feat(dashboard): add up-next tile to saved dashboard layouts
This commit is contained in:
1 parent
395b8e6f99
commit
d9b816904a
1 file changed
+6
@@ -0,0 +1,6 @@
|
||||
-- Core item #3: the new UP_NEXT dashboard tile, added once at the end of every saved layout. A NULL layout
|
||||
-- already shows the Frontend default, which has it. One-shot: a user who removes the tile later keeps it removed.
|
||||
UPDATE user_settings
|
||||
SET dashboard_tiles = array_append(dashboard_tiles, 'UP_NEXT:M')
|
||||
WHERE dashboard_tiles IS NOT NULL
|
||||
AND NOT EXISTS (SELECT 1 FROM unnest(dashboard_tiles) t WHERE t LIKE 'UP_NEXT:%');
|
||||
Reference in new issue
Block a user