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:
Sabe Jones 2024-09-11 14:59:53 -05:00
parent 50cc66d51c
commit 9934e59629

View file

@ -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 {