Skip to content

Commit afb7aa2

Browse files
authored
Merge pull request #823 from 3DStreet/new-for-all
"new" button available for all users
2 parents 363f2f9 + 8878cdf commit afb7aa2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/editor/components/scenegraph/Toolbar.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,11 @@ export default class Toolbar extends Component {
370370
return (
371371
<div id="toolbar">
372372
<div className="toolbarActions">
373-
{this.props.currentUser?.isPro && (
374-
<div>
375-
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
376-
<div className="hideInLowResolution">New</div>
377-
</Button>
378-
</div>
379-
)}
373+
<div>
374+
<Button leadingIcon={<Edit24Icon />} onClick={this.newHandler}>
375+
<div className="hideInLowResolution">New</div>
376+
</Button>
377+
</div>
380378
{this.state.showSaveBtn && this.props.currentUser ? (
381379
<div className="saveButtonWrapper" ref={this.saveButtonRef}>
382380
<Button

0 commit comments

Comments
 (0)