mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
disable right sidebar in production (#515)
This commit is contained in:
parent
404f7eaac0
commit
4eb215b99d
@ -70,6 +70,10 @@ class RightSidebarModel implements SidebarModel {
|
||||
}
|
||||
|
||||
getCollapsed(): boolean {
|
||||
// disable right sidebar in production
|
||||
if (!this.globalModel.isDev) {
|
||||
return true;
|
||||
}
|
||||
const clientData = this.globalModel.clientData.get();
|
||||
const collapsed = clientData?.clientopts?.rightsidebar?.collapsed;
|
||||
if (this.isDragging.get()) {
|
||||
|
Loading…
Reference in New Issue
Block a user