fix js reference (this) error in waitForSessionPageEnterDone function

This commit is contained in:
Nuwan 2024-04-11 17:03:28 +05:30
parent 7617e4a4dd
commit 2a64bbbfe8
1 changed files with 2 additions and 2 deletions

View File

@ -1104,8 +1104,8 @@ ConfigureTracksActions = @ConfigureTracksActions
// see if we already have tracks; if so, we need to run with these
var inputTracks = await context.JK.TrackHelpers.getUserTracks(context.jamClient);
logger.debug("isNoInputProfile", gearUtils.isNoInputProfile())
if(inputTracks.length > 0 || gearUtils.isNoInputProfile() ) {
logger.debug("isNoInputProfile", this.gearUtils.isNoInputProfile())
if(inputTracks.length > 0 || this.gearUtils.isNoInputProfile() ) {
logger.debug("on page enter, tracks are already available")
sessionPageEnterDeferred.resolve(inputTracks);
var deferred = sessionPageEnterDeferred;