Browse Source

Revert list view changes - keep per-file buttons visible

Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
copilot-swe-agent[bot] 3 months ago
parent
commit
44443eafca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/pages/FileManagerPage.tsx

+ 1 - 1
frontend/src/pages/FileManagerPage.tsx

@@ -2098,7 +2098,7 @@ export function FileManagerPage() {
                     <div className="text-sm text-bambu-gray">{file.print_count > 0 ? `${file.print_count}x` : '-'}</div>
                     <div className="text-sm text-bambu-gray">{file.print_count > 0 ? `${file.print_count}x` : '-'}</div>
                     {/* Actions */}
                     {/* Actions */}
                     <div className="flex items-center gap-1" onClick={(e) => e.stopPropagation()}>
                     <div className="flex items-center gap-1" onClick={(e) => e.stopPropagation()}>
-                      {selectedFiles.length === 0 && isSlicedFilename(file.filename) && (
+                      {isSlicedFilename(file.filename) && (
                         <>
                         <>
                           <button
                           <button
                             onClick={() => hasPermission('printers:control') && setPrintFile(file)}
                             onClick={() => hasPermission('printers:control') && setPrintFile(file)}