mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
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:
co-authored by
cadtoolbox
parent
25affaf004
commit
0d48aba520
@@ -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 })}
|
||||
|
||||
Reference in New Issue
Block a user