Skip to content

Commit

Permalink
Merge pull request #928 from the-hideout/load-profile-ext
Browse files Browse the repository at this point in the history
profile load extension restriction
  • Loading branch information
Shebuka authored Apr 23, 2024
2 parents 88cdb94 + 3d571b7 commit afa44e2
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 afa44e2

Please sign in to comment.