Skip to content

Commit

Permalink
Fix skill archive action
Browse files Browse the repository at this point in the history
Co-authored-by: Iris Benoit-Martin <[email protected]>
Co-authored-by: Jérémie Jadé <[email protected]>
  • Loading branch information
3 people committed Oct 2, 2024
1 parent 91fd4c7 commit 74c22ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default class SingleController extends Controller {
if (dropdown) {
dropdown.actions.close();
}
const challenges = this.skill.challenges;
const challenges = this.skill.challengesArray;
return this.confirm.ask(this.intl.t('skill.archive.confirm.title'), this.intl.t('skill.archive.confirm.message'))
.then(() => {
this._displayChangelogPopIn(this.intl.t('skill.changelog.archive'), (changelogValue)=>{
Expand Down Expand Up @@ -241,7 +241,7 @@ export default class SingleController extends Controller {
if (dropdown) {
dropdown.actions.close();
}
const challenges = this.skill.challenges;
const challenges = this.skill.challengesArray;
return this.confirm.ask(this.intl.t('skill.obsolete.confirm.title'), this.intl.t('skill.obsolete.confirm.message'))
.then(() => {
this._displayChangelogPopIn(this.intl.t('skill.changelog.obsolete'), (changelogValue) => {
Expand Down

0 comments on commit 74c22ce

Please sign in to comment.