mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-23 18:50:04 +00:00
Try to accept only GEDCOM files in upload file dialog
This commit is contained in:
parent
3b4f05e9fc
commit
5d5bb65cd2
@ -151,6 +151,7 @@ export class TopBar extends React.Component<RouteComponentProps, State> {
|
||||
<input
|
||||
className="hidden"
|
||||
type="file"
|
||||
accept=".ged"
|
||||
id="fileInput"
|
||||
onChange={(e) => this.handleUpload(e)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user