Add toasts enabled state to the plugin API
This commit is contained in:
parent
a4992e905c
commit
22e78c03e1
|
@ -330,7 +330,8 @@ export default class PluginApi {
|
|||
success: this.showSuccessToast.bind(this),
|
||||
error: this.showErrorToast.bind(this),
|
||||
info: this.showInfoToast.bind(this),
|
||||
warning: this.showWarningToast.bind(this)
|
||||
warning: this.showWarningToast.bind(this),
|
||||
get enabled() { return Toasts.enabled }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue