Skip to content

Commit 2f99760

Browse files
committed
Fixed the loading indicator logic
1 parent 7fa6c3a commit 2f99760

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

home_page.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ class HomePage extends HTMLElement {
166166
this.attachShadow({ mode: 'open' });
167167
this.shadowRoot.appendChild(homePageTemplate.content.cloneNode(true));
168168
this.initDOMElements();
169-
170-
this.currentAlignmentUrl = null;
171169
}
172170

173171
initDOMElements() {
@@ -233,8 +231,7 @@ class HomePage extends HTMLElement {
233231

234232
// Navigate to the main content page with the URLs
235233
navigateToMainContent(url1, url2) {
236-
if (url1 !== this.currentAlignmentUrl) {
237-
this.currentAlignmentUrl = url1;
234+
if (url1 !== this.broker.alignmentUrl) {
238235
// reset the state
239236
this.broker.reset();
240237
}

0 commit comments

Comments
 (0)