From a379100c9f2c74c2e4666fb92b1684f226a954d5 Mon Sep 17 00:00:00 2001
From: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
Date: Sun, 26 Oct 2025 12:03:36 -0700
Subject: [PATCH] fix: disable certain playlist controls when search is enabled
---
.../now-playing/components/play-queue-list-controls.tsx | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx
index a0bbc6a3..f0605260 100644
--- a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx
+++ b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx
@@ -135,6 +135,8 @@ export const PlayQueueListControls = ({
[handleSearch, tableRef],
);
+ const hasSearch = !!searchTerm;
+
return (