Cleanup for PR #258

This commit is contained in:
maziggy
2026-02-04 14:58:38 +01:00
parent 2526728223
commit 6577295cc2
7 changed files with 117 additions and 8779 deletions
+5 -1
View File
@@ -38,6 +38,7 @@ import {
Play,
Image,
User,
Box,
} from 'lucide-react';
import { api } from '../api/client';
import type {
@@ -918,7 +919,7 @@ interface FileCardProps {
t: TFunction;
}
function FileCard({ file, isSelected, isMobile, onSelect, onDelete, onDownload, onAddToQueue, onPrint, onRename, onGenerateThumbnail, thumbnailVersion, hasPermission, canModify, authEnabled, t }: FileCardProps) {
function FileCard({ file, isSelected, isMobile, onSelect, onDelete, onDownload, onAddToQueue, onPrint, onPreview3d, onRename, onGenerateThumbnail, thumbnailVersion, hasPermission, canModify, authEnabled, t }: FileCardProps) {
const [showActions, setShowActions] = useState(false);
return (
@@ -2327,6 +2328,9 @@ export function FileManagerPage() {
queryClient.invalidateQueries({ queryKey: ['queue'] });
queryClient.invalidateQueries({ queryKey: ['archives'] });
}}
/>
)}
{viewerFile && (
<ModelViewerModal
libraryFileId={viewerFile.id}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -23,8 +23,8 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-3wkUCoeq.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-fdAEMOwp.css">
<script type="module" crossorigin src="/assets/index-zuNzNq45.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-qXxId8sa.css">
</head>
<body>
<div id="root"></div>