mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Added needs cron check to achievements (#9624)
This commit is contained in:
@@ -311,6 +311,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkUserAchievements () {
|
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
|
// 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) {
|
if (!this.user.flags.welcomed) {
|
||||||
this.$store.state.avatarEditorOptions.editingUser = false;
|
this.$store.state.avatarEditorOptions.editingUser = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user