PHD2 Log upload now supports .txt
This commit is contained in:
@@ -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)}
|
||||
|
||||
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user