Prevented challenge edit during RYA (#9373)

This commit is contained in:
Keith Holliday
2017-11-02 11:37:29 -06:00
committed by GitHub
parent d98fe79e9c
commit 0e958fd306
3 changed files with 7 additions and 6 deletions

View File

@@ -553,6 +553,7 @@ export default {
}
},
handleBrokenTask (task) {
if (this.$store.state.isRunningYesterdailies) return;
this.$store.state.brokenChallengeTask = task;
this.$root.$emit('show::modal', 'broken-task-modal');
},