Skip to content

Commit

Permalink
profile load extension restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Apr 19, 2024
1 parent 88cdb94 commit 3d571b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ function Player() {
<div>
<p>
<Link to="/players"><Icon path={mdiAccountSearch} size={1} className="icon-with-text" />{t('Search different player')}</Link>
<input type='file' id='file' ref={inputFile} style={{display: 'none'}} onChange={loadProfile}/>
<input type='file' id='file' ref={inputFile} style={{display: 'none'}} onChange={loadProfile} accept="application/json,.json"/>
<Tippy
content={t('Load profile from file')}
placement="bottom"
Expand Down

0 comments on commit 3d571b7

Please sign in to comment.