mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-6482: fix
This commit is contained in:
parent
8d414480bf
commit
defd70effc
2 changed files with 3 additions and 6 deletions
|
@ -107,7 +107,6 @@ const Page = observer(class Page extends React.Component<I.PageComponent> {
|
|||
</Frame>
|
||||
)}
|
||||
</div>
|
||||
<div id="sidebarDummyRight" className="sidebarDummy" />
|
||||
<SidebarRight
|
||||
ref={ref => S.Common.refSet(`sidebarRight${namespace}`, ref)}
|
||||
key="sidebarRight"
|
||||
|
|
|
@ -17,7 +17,6 @@ class Sidebar {
|
|||
objLeft: JQuery<HTMLElement> = null;
|
||||
objRight: JQuery<HTMLElement> = null;
|
||||
dummyLeft: JQuery<HTMLElement> = null;
|
||||
dummyRight: JQuery<HTMLElement> = null
|
||||
|
||||
page: JQuery<HTMLElement> = null;
|
||||
pageFlex: JQuery<HTMLElement> = null;
|
||||
|
@ -62,14 +61,13 @@ class Sidebar {
|
|||
const vault = S.Common.getRef('vault');
|
||||
|
||||
this.objLeft = $('#sidebarLeft');
|
||||
this.objRight = $('#sidebarRight');
|
||||
this.pageFlex = $(`#pageFlex.${isPopup ? 'isPopup' : 'isFull'}`);
|
||||
this.page = $(`#page.${isPopup ? 'isPopup' : 'isFull'}`);
|
||||
this.pageFlex = U.Common.getPageFlexContainer(isPopup);
|
||||
this.page = U.Common.getPageContainer(isPopup);
|
||||
this.header = this.page.find('#header');
|
||||
this.footer = this.page.find('#footer');
|
||||
this.loader = this.page.find('#loader');
|
||||
this.objRight = this.pageFlex.find('#sidebarRight');
|
||||
this.dummyLeft = $('#sidebarDummyLeft');
|
||||
this.dummyRight = $('#sidebarDummyRight');
|
||||
this.toggleButton = $('#sidebarToggle');
|
||||
this.syncButton = $('#sidebarSync');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue