Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Jul 24, 2023
2 parents b7bc843 + 98d65f8 commit b4631e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/app/widgets/highlights_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class HighlightsListWidget extends RightPanelWidget {

const optionsHighlightsList = JSON.parse(options.get('highlightsList'));

if (note.isLabelTruthy('hideHighlightWidget') || !optionsHighlightsList) {
if (note.isLabelTruthy('hideHighlightWidget') || !optionsHighlightsList.length) {
this.toggleInt(false);
this.triggerCommand("reEvaluateRightPaneVisibility");
return;
Expand Down

0 comments on commit b4631e9

Please sign in to comment.