mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Squashed commit of the following:
commit ddcc3a87451f60f6bc50759c56d8872b4e82496a
Author: CuriousMagpie <eilatan@gmail.com>
Date: Thu Sep 5 12:42:32 2024 -0400
update mixin to add onlyOwner and quest title
commit bc1f75270bb4207a352fc9a24dad23e03d3f94c2
Author: CuriousMagpie <eilatan@gmail.com>
Date: Wed Sep 4 16:15:42 2024 -0400
popover fix to difficulty but breaks img and quest title
This commit is contained in:
parent
50cc66d51c
commit
9934e59629
1 changed files with 9 additions and 2 deletions
|
|
@ -39,9 +39,16 @@ export const QuestHelperMixin = {
|
|||
return !drop.onlyOwner;
|
||||
}).map(item => {
|
||||
if (item.type === 'gear') {
|
||||
const contentItem = this.content.gear.flat[item.key];
|
||||
return this.content.gear.flat[item.key];
|
||||
}
|
||||
|
||||
return contentItem;
|
||||
if (item.type === 'quests') {
|
||||
const questScroll = {};
|
||||
Object.assign(questScroll, this.content.quests[item.key]);
|
||||
questScroll.type = 'quests';
|
||||
questScroll.text = item.text();
|
||||
questScroll.onlyOwner = item.onlyOwner;
|
||||
return questScroll;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue