Commit 6b75a8b0 authored by Joseph Izang's avatar Joseph Izang

fixes based on Aniket-Engg comments

parent 768824a8
export function alert(title: any, text: any): {
container: HTMLElement;
okListener: () => void;
cancelListener: () => void;
hide: () => void;
};
export function prompt(title: any, text: any, inputValue: any, ok: any, cancel: any, focus: any): void;
export function promptPassphrase(title: any, text: any, inputValue: any, ok: any, cancel: any): void;
export function promptPassphraseCreation(ok: any, cancel: any): {
container: HTMLElement;
okListener: () => void;
cancelListener: () => void;
hide: () => void;
};
export function promptMulti({ title, text, inputValue }: {
title: any;
text: any;
inputValue: any;
}, ok: any, cancel: any): {
container: HTMLElement;
okListener: () => void;
cancelListener: () => void;
hide: () => void;
};
export function confirm(title: any, text: any, ok: any, cancel: any): {
container: HTMLElement;
okListener: () => void;
cancelListener: () => void;
hide: () => void;
};
declare function _exports(title: any, content: any, ok: any, cancel: any, focusSelector: any, opts: any): {
container: HTMLElement;
okListener: () => void;
cancelListener: () => void;
hide: () => void;
};
export = _exports;
...@@ -48,7 +48,7 @@ class PluginManagerComponent extends ViewPlugin { ...@@ -48,7 +48,7 @@ class PluginManagerComponent extends ViewPlugin {
* @param {string} name name of Plugin * @param {string} name name of Plugin
*/ */
isActive (name) { isActive (name) {
this.appManager.actives.includes(name) return this.appManager.actives.includes(name)
} }
/** /**
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment