Add import model button to toolbar
This commit is contained in:
@@ -2317,9 +2317,17 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
<button className="toolbar__button" type="button" onClick={handleExportJson}>
|
<button className="toolbar__button" type="button" onClick={handleExportJson}>
|
||||||
Export JSON
|
Export JSON
|
||||||
</button>
|
</button>
|
||||||
<button className="toolbar__button" type="button" onClick={handleImportButtonClick}>
|
<button className="toolbar__button" type="button" onClick={handleImportJsonButtonClick}>
|
||||||
Import JSON
|
Import JSON
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
className="toolbar__button"
|
||||||
|
type="button"
|
||||||
|
onClick={handleImportModelButtonClick}
|
||||||
|
disabled={!projectAssetStorageReady || projectAssetStorage === null}
|
||||||
|
>
|
||||||
|
Import Model
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="toolbar__group">
|
<div className="toolbar__group">
|
||||||
|
|||||||
Reference in New Issue
Block a user