Remove console log
parent
fdf5d12196
commit
e011ad02a5
|
@ -55,11 +55,9 @@ function WorkspaceButton({menuItem, value, ...props}) {
|
||||||
setDisabled(!hasOpenTabs(value));
|
setDisabled(!hasOpenTabs(value));
|
||||||
});
|
});
|
||||||
const deregChange = layout.eventBus.registerListener(LAYOUT_EVENTS.CHANGE, ()=>{
|
const deregChange = layout.eventBus.registerListener(LAYOUT_EVENTS.CHANGE, ()=>{
|
||||||
console.log(layout);
|
|
||||||
setDisabled(!hasOpenTabs(value));
|
setDisabled(!hasOpenTabs(value));
|
||||||
});
|
});
|
||||||
const deregRemove = layout.eventBus.registerListener(LAYOUT_EVENTS.REMOVE, ()=>{
|
const deregRemove = layout.eventBus.registerListener(LAYOUT_EVENTS.REMOVE, ()=>{
|
||||||
console.log(layout);
|
|
||||||
setDisabled(!hasOpenTabs(value));
|
setDisabled(!hasOpenTabs(value));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue