Skip to content

Commit

Permalink
Merge pull request #4114 from SiriusXT/master
Browse files Browse the repository at this point in the history
Fix bugs in highlights,v0.61.0-beta
  • Loading branch information
zadam authored Jul 24, 2023
2 parents 0599891 + 4068398 commit 98d65f8
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 98d65f8

Please sign in to comment.