From 6522c955d0eaf3b7149599f54697004e2dd2248e Mon Sep 17 00:00:00 2001 From: danielghost Date: Mon, 25 Nov 2024 12:03:55 +0000 Subject: [PATCH] Fix: updated collection on `_isVisible` changes (fixes (#239). --- js/PageLevelProgressNavigationView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/PageLevelProgressNavigationView.js b/js/PageLevelProgressNavigationView.js index 9801b76..bd1c50f 100644 --- a/js/PageLevelProgressNavigationView.js +++ b/js/PageLevelProgressNavigationView.js @@ -56,7 +56,7 @@ export default class PageLevelProgressNavigationView extends NavigationButtonVie 'view:childAdded pageLevelProgress:update': this.refreshProgressBar, 'drawer:closed': this.drawerClosed }); - this.listenTo(data, 'change:_isLocked change:_isComplete', this.refreshProgressBar); + this.listenTo(data, 'change:_isLocked change:_isVisible change:_isComplete', this.refreshProgressBar); } addIndicator() {