fix hide toolbar only appearing for presenter
This commit is contained in:
parent
c6f82eed1e
commit
0487eec4ca
@ -358,8 +358,6 @@ const PresentationMenu = (props) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const tools = document.querySelector('.tlui-toolbar, .tlui-style-panel__wrapper, .tlui-menu-zone');
|
|
||||||
if (tools && (props.hasWBAccess || props.amIPresenter)){
|
|
||||||
menuItems.push(
|
menuItems.push(
|
||||||
{
|
{
|
||||||
key: 'list-item-toolvisibility',
|
key: 'list-item-toolvisibility',
|
||||||
@ -371,7 +369,6 @@ const PresentationMenu = (props) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
if (props.amIPresenter) {
|
if (props.amIPresenter) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user