mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-13 02:53:44 +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
|
<input
|
||||||
className="hidden"
|
className="hidden"
|
||||||
type="file"
|
type="file"
|
||||||
|
accept=".ged"
|
||||||
id="fileInput"
|
id="fileInput"
|
||||||
onChange={(e) => this.handleUpload(e)}
|
onChange={(e) => this.handleUpload(e)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user