From 3a4cf2b0b54b02e93721f5a4d6fb8359653a5c8d Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 18 Jan 2024 08:22:02 -0800
Subject: feat(schedule): force list mode flag

---
 src/lib/Tools/Schedule/Days.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/lib/Tools/Schedule/Days.svelte')

diff --git a/src/lib/Tools/Schedule/Days.svelte b/src/lib/Tools/Schedule/Days.svelte
index 9b4ef6b2..ac451507 100644
--- a/src/lib/Tools/Schedule/Days.svelte
+++ b/src/lib/Tools/Schedule/Days.svelte
@@ -10,6 +10,7 @@
 
 	export let subsPlease: SubsPlease;
 	export let scheduledMedia: Partial<Media[]>;
+	export let forceListMode = false;
 
 	const urlParameters = browser ? new URLSearchParams(window.location.search) : null;
 	let day: string | null = parseOrDefault(urlParameters, 'day', null);
@@ -73,7 +74,7 @@
 	>
 		<summary>{day}</summary>
 
-		{#if !$settings.displayScheduleListMode}
+		{#if !$settings.displayScheduleListMode && !forceListMode}
 			<div
 				id="covers"
 				style={`grid-template-columns: repeat(auto-fill, minmax(${$settings.displayCoverWidth}px, 1fr))`}
-- 
cgit v1.2.3

