Added needs cron check to achievements (#9624)

This commit is contained in:
Keith Holliday
2017-12-01 09:54:43 -06:00
committed by GitHub
parent ae0df2242a
commit e138d2b67b

View File

@@ -311,6 +311,8 @@ export default {
},
methods: {
checkUserAchievements () {
if (this.user.needsCron) return;
// List of prompts for user on changes. Sounds like we may need a refactor here, but it is clean for now
if (!this.user.flags.welcomed) {
this.$store.state.avatarEditorOptions.editingUser = false;