@@ -191,7 +191,6 @@ export class App extends BtrixElement {
191
191
willUpdate ( changedProperties : Map < string , unknown > ) {
192
192
if ( changedProperties . has ( "settings" ) ) {
193
193
AppStateService . updateSettings ( this . settings || null ) ;
194
-
195
194
}
196
195
if ( changedProperties . has ( "viewState" ) ) {
197
196
this . handleViewStateChange (
@@ -245,7 +244,6 @@ export class App extends BtrixElement {
245
244
// Redirect to logged in home page
246
245
this . viewState = this . router . match ( this . navigate . orgBasePath ) ;
247
246
window . history . replaceState ( this . viewState , "" , this . viewState . pathname ) ;
248
- console . log ( "replace state" ) ;
249
247
} else {
250
248
const nextViewState = this . router . match (
251
249
`${ pathname } ${ window . location . search } ` ,
@@ -257,7 +255,6 @@ export class App extends BtrixElement {
257
255
) {
258
256
this . viewState = nextViewState ;
259
257
this . updateOrgSlugIfNeeded ( ) ;
260
- console . log ( "next view state" , nextViewState ) ;
261
258
}
262
259
}
263
260
}
@@ -324,10 +321,8 @@ export class App extends BtrixElement {
324
321
} `;
325
322
326
323
if ( replace ) {
327
- console . log ( "new state replaced" ) ;
328
324
window . history . replaceState ( this . viewState , "" , urlStr ) ;
329
325
} else {
330
- console . log ( "new state pushed" ) ;
331
326
window . history . pushState ( this . viewState , "" , urlStr ) ;
332
327
}
333
328
0 commit comments