mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
Make toc/hightlightslist reopen after it's closed
This commit is contained in:
@@ -318,6 +318,14 @@ export default class HighlightsListWidget extends RightPanelWidget {
|
||||
this.noteContext.viewScope.highlightsListTemporarilyHidden = true;
|
||||
await this.refresh();
|
||||
this.triggerCommand('reEvaluateRightPaneVisibility');
|
||||
appContext.triggerEvent("reEvaluateHighlightsListWidgetVisibility", { noteId: this.noteId });
|
||||
}
|
||||
|
||||
async showHighlightsListWidgetEvent({ noteId }) {
|
||||
if (this.noteId === noteId) {
|
||||
await this.refresh();
|
||||
this.triggerCommand('reEvaluateRightPaneVisibility');
|
||||
}
|
||||
}
|
||||
|
||||
async entitiesReloadedEvent({ loadResults }) {
|
||||
|
||||
Reference in New Issue
Block a user