mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Bugfix/show the correct negative icon in challenge habit (#12313)
* Habits in the challenge view have incorrect and misaligned negative icon Change the check for the negative icon to something more suitable so the lock icon is shown when needed * Habits in the challenge view have incorrect and misaligned negative icon Removed the check for task.group.id Co-authored-by: Patrick van Zadel <patrickvanzadel@eleven.nl>
This commit is contained in:
committed by
GitHub
parent
3b7af150cd
commit
b2bb251522
@@ -317,7 +317,7 @@
|
|||||||
@click="(isUser && task.down) ? score('down') : null"
|
@click="(isUser && task.down) ? score('down') : null"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="task.group.id && !isUser"
|
v-if="!isUser"
|
||||||
class="svg-icon lock"
|
class="svg-icon lock"
|
||||||
:class="task.down ? controlClass.down.icon : 'negative'"
|
:class="task.down ? controlClass.down.icon : 'negative'"
|
||||||
v-html="icons.lock"
|
v-html="icons.lock"
|
||||||
|
|||||||
Reference in New Issue
Block a user