Fix: Only show buttons for the selected file, not all files

Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-04 11:07:24 +00:00
co-authored by cadtoolbox
parent 25affaf004
commit 0d48aba520
+1 -1
View File
@@ -1985,7 +1985,7 @@ export function FileManagerPage() {
file={file}
isSelected={selectedFiles.includes(file.id)}
isMobile={isMobile}
showPrintScheduleButtons={selectedFiles.length === 1}
showPrintScheduleButtons={selectedFiles.includes(file.id) && selectedFiles.length === 1}
t={t}
onSelect={handleFileSelect}
onDelete={(id) => setDeleteConfirm({ type: 'file', id })}