Skip to content

Commit

Permalink
Merge pull request #823 from 3DStreet/new-for-all
Browse files Browse the repository at this point in the history
"new" button available for all users
  • Loading branch information
kfarr committed Sep 1, 2024
2 parents 363f2f9 + 8878cdf commit afb7aa2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/editor/components/scenegraph/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,11 @@ export default class Toolbar extends Component {
return (
<div id="toolbar">
<div className="toolbarActions">
{this.props.currentUser?.isPro && (
<div>
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
<div className="hideInLowResolution">New</div>
</Button>
</div>
)}
<div>
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
<div className="hideInLowResolution">New</div>
</Button>
</div>
{this.state.showSaveBtn && this.props.currentUser ? (
<div className="saveButtonWrapper" ref={this.saveButtonRef}>
<Button
Expand Down

0 comments on commit afb7aa2

Please sign in to comment.