mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
add label/relation from menu
This commit is contained in:
@@ -51,7 +51,9 @@ class BasicWidget extends Component {
|
||||
this.$widget.addClass('component')
|
||||
.prop('component', this);
|
||||
|
||||
this.toggleInt(this.isEnabled());
|
||||
if (!this.isEnabled()) {
|
||||
this.toggleInt(false);
|
||||
}
|
||||
|
||||
if (this.cssEl) {
|
||||
const css = this.cssEl.trim().startsWith('<style>') ? this.cssEl : `<style>${this.cssEl}</style>`;
|
||||
|
||||
Reference in New Issue
Block a user