mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
New client many fixes (#8981)
* Footer style fixes * Limited string display * Fixed background reload * Began adding more avatar items * Fixed challenge updated cats and official to be seen by admins * Fixed min prize * Fixed required fields * Added my challenges and find challenges to menu * Removed nav to party page when have no party * Updated user and notifications icon * Added accept, reject and messages * Added selfcare * Underline links * Added forgot password * Fixed task adding * Disabled habit options that should be * Added markdown to tags * Added confirm to delete * Fixed cancel/delete style * Fixed rounding * Added gold icon * Fixed task icon styles * Fixed margin botton * Fixed some repeat styles * Fixed custom reward style * Hide like count 0 * Added new tavern images * Redirect to party page after create * Hid leader options from non leaders * Removed manager options from non group plan * Fixed some nav styles * Fixed overlay color * Prevented edit data from being transfered to create * Added hover state for spells * Add performance fixes for chat avatars * Fixed merge conflicts * Updated fron navigation * Fixed reg gryphon logo * Began adding gem modal functionality * Added purchase gems with gold * Fixed restore * Replaced description with summary * Spells that target tasks fix * Added initial challenge task load * Fixed lint issue
This commit is contained in:
@@ -49,6 +49,10 @@ div(v-if='user.stats.lvl > 10')
|
||||
white-space: initial;
|
||||
}
|
||||
|
||||
.spell:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.spell {
|
||||
background: #ffffff;
|
||||
margin-bottom: 1em;
|
||||
@@ -244,16 +248,16 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
// @TODO: do we need to fetcht the party everytime? We should probably just check store
|
||||
let party = await this.$store.dispatch('guilds:getGroup', {groupId: 'party'});
|
||||
let party = this.$store.state.party.members;
|
||||
party = isArray(party) ? party : [];
|
||||
party = party.concat(this.user);
|
||||
this.$store.state.party.data = party;
|
||||
this.castEnd(party, 'party');
|
||||
} else if (spell.target === 'tasks') {
|
||||
let tasks = this.$store.state.tasks.habits.concat(this.user.dailys)
|
||||
.concat(this.$store.state.tasks.rewards)
|
||||
.concat(this.$store.state.tasks.todos);
|
||||
let userTasks = this.$store.state.tasks.data;
|
||||
let tasks = userTasks.habits
|
||||
.concat(userTasks.dailys)
|
||||
.concat(userTasks.rewards)
|
||||
.concat(userTasks.todos);
|
||||
// exclude challenge tasks
|
||||
tasks = tasks.filter((task) => {
|
||||
if (!task.challenge) return true;
|
||||
|
||||
Reference in New Issue
Block a user