Commit 685e42bf authored by Dorian Goepp's avatar Dorian Goepp

name the new tabs suing their type

parent 710342ae
......@@ -84,7 +84,7 @@ class Board extends React.Component {
const {component, name} = this.props.store.sharedData.get('newTab');
this.refLayout.current.addTabWithDragAndDrop(`Add ${name}<br>(Drag to location)`, {
component: component,
name: "New tab"
name: name
}, null);
this.props.store.sharedData.delete('newTab')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment