You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-24 23:26:50 +02:00
Plugins: Add support for hiding and showing panels
This commit is contained in:
@ -6,14 +6,14 @@ export default class ViewController {
|
||||
private pluginId_: string;
|
||||
private store_: any;
|
||||
|
||||
constructor(handle: ViewHandle, pluginId: string, store: any) {
|
||||
public constructor(handle: ViewHandle, pluginId: string, store: any) {
|
||||
this.handle_ = handle;
|
||||
this.pluginId_ = pluginId;
|
||||
this.store_ = store;
|
||||
}
|
||||
|
||||
protected get storeView(): any {
|
||||
return this.store_.pluginService.plugins[this.pluginId_].views[this.handle];
|
||||
return this.store_.getState().pluginService.plugins[this.pluginId_].views[this.handle];
|
||||
}
|
||||
|
||||
protected get store(): any {
|
||||
|
Reference in New Issue
Block a user