diff --git a/src/addons/mod/workshop/components/assessment-strategy/assessment-strategy.ts b/src/addons/mod/workshop/components/assessment-strategy/assessment-strategy.ts index 95f62fd6d..c3656705a 100644 --- a/src/addons/mod/workshop/components/assessment-strategy/assessment-strategy.ts +++ b/src/addons/mod/workshop/components/assessment-strategy/assessment-strategy.ts @@ -250,7 +250,7 @@ export class AddonModWorkshopAssessmentStrategyComponent implements OnInit, OnDe * @returns True if data has changed. */ hasDataChanged(): boolean { - if (!this.assessmentStrategyLoaded || !this.workshop.strategy) { + if (!this.assessmentStrategyLoaded || !this.workshop.strategy || !this.edit) { return false; }