Skip to content

Commit

Permalink
fix: resolve the active pane glitch when switching workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravjeetsingh committed May 31, 2024
1 parent cd5bd14 commit 97593ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/main/navigator/shabad/ShabadText.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const ShabadText = ({
updateHomeVerse(initialVerseIndex);
setActiveVerse({ [activeVerseIndex]: activeVerseId });
}
if (activeShabadId === null || sundarGutkaBaniId === null || ceremonyId === null) {
if (activeShabadId === null && sundarGutkaBaniId === null && ceremonyId === null) {
if (initialVerseIndex >= 0) {
updateTraversedVerse(initialVerseId, initialVerseIndex);
}
Expand Down

0 comments on commit 97593ac

Please sign in to comment.