mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-27 04:06:35 +00:00
Try to accept only GEDCOM files in upload file dialog
This commit is contained in:
@@ -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)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user