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 <input
ref={inputRef} ref={inputRef}
type="file" type="file"
accept=".log,.csv" accept=".txt,.log,.csv"
multiple multiple
style={{ display: 'none' }} style={{ display: 'none' }}
onChange={e => handleFiles(e.target.files)} onChange={e => handleFiles(e.target.files)}
+1 -1
View File
@@ -84,7 +84,7 @@ function PHD2Section() {
> >
{uploading ? 'Parsing…' : '↑ Upload .log'} {uploading ? 'Parsing…' : '↑ Upload .log'}
</div> </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])} /> onChange={e => e.target.files?.[0] && handleFile(e.target.files[0])} />
</div> </div>
{uploadResult && ( {uploadResult && (