Skip to content

Commit

Permalink
Issue #IQ-679 fix: Alternative fix for IQ-567 Telemetry Error
Browse files Browse the repository at this point in the history
  • Loading branch information
rajnishdargan committed Feb 15, 2024
1 parent f763dd5 commit f121a23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion projects/quml-library/src/lib/player-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ export const DEFAULT_SCORE: number = 1;
export const WARNING_TIME_CONFIG = {
DEFAULT_TIME : 75,
SHOW_TIMER: true
}
}

export const COMPATABILITY_LEVEL: number = 6;
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { takeUntil } from 'rxjs/operators';
import { QumlPlayerConfig, IParentConfig, IAttempts } from '../quml-library-interface';
import { ViewerService } from '../services/viewer-service/viewer-service';
import { eventName, pageId, TelemetryType, Cardinality, QuestionType } from '../telemetry-constants';
import { DEFAULT_SCORE } from '../player-constants';
import { DEFAULT_SCORE, COMPATABILITY_LEVEL } from '../player-constants';
import { UtilService } from '../util-service';

@Component({
Expand Down Expand Up @@ -91,7 +91,7 @@ export class SectionPlayerComponent implements OnChanges, AfterViewInit {
isAssessEventRaised = false;
isShuffleQuestions = false;
shuffleOptions: boolean;
playerContentCompatibiltyLevel = 6;
playerContentCompatibiltyLevel = COMPATABILITY_LEVEL;

constructor(
public viewerService: ViewerService,
Expand Down

0 comments on commit f121a23

Please sign in to comment.