Skip to content

Commit

Permalink
fix file upload (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Oct 25, 2023
1 parent 9cc846f commit 8788975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Containers/CadView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export default function CadView({
},
}}
>
<ControlsGroup fileOpen={() => loadLocalFile(navigate)} repo={modelPath.repo}/>
<ControlsGroup fileOpen={() => loadLocalFile(navigate, appPrefix, handleBeforeUnload)} repo={modelPath.repo}/>
{isSearchBarVisible && isSearchVisible &&
<Box sx={{marginTop: '10px', width: '100%'}}>
<SearchBar fileOpen={() => loadLocalFile(navigate, appPrefix, handleBeforeUnload)}/>
Expand Down

0 comments on commit 8788975

Please sign in to comment.