mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fix(import): only accept json files to create application (#1287)
This commit is contained in:
parent
669bc896fc
commit
7931e9b8f7
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ class HomePage extends React.Component {
|
|||
<span className="spinner-border spinner-border-sm me-2" role="status"></span>
|
||||
)}
|
||||
Import
|
||||
<input type="file" ref={this.fileInput} style={{ display: 'none' }} />
|
||||
<input type="file" accept=".json" ref={this.fileInput} style={{ display: 'none' }} />
|
||||
</label>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue