PHD2 Log upload now supports .txt

This commit is contained in:
2026-04-10 23:42:21 +02:00
parent b4fff4ebc0
commit 8f72745bc0
2 changed files with 2 additions and 2 deletions
@@ -104,7 +104,7 @@ export default function PHD2UploadZone({ onUploaded }: Props) {
<input
ref={inputRef}
type="file"
accept=".log,.csv"
accept=".txt,.log,.csv"
multiple
style={{ display: 'none' }}
onChange={e => handleFiles(e.target.files)}
+1 -1
View File
@@ -84,7 +84,7 @@ function PHD2Section() {
>
{uploading ? 'Parsing…' : '↑ Upload .log'}
</div>
<input ref={inputRef} type="file" accept=".log,.csv" style={{ display: 'none' }}
<input ref={inputRef} type="file" accept=".txt,.log,.csv" style={{ display: 'none' }}
onChange={e => e.target.files?.[0] && handleFile(e.target.files[0])} />
</div>
{uploadResult && (