Skip to content

Commit

Permalink
refactor: Hiding the description for now, since they take a lot of space
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimple committed Aug 11, 2021
1 parent a093ae4 commit 6eb2219
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/scripts/destiny2/goalItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ function Destiny2Goals() {
}

if (typeof objective.objectiveProgressDescription !== "undefined") {
bountyDataItem.description = `${bountyDataItem.description}<br /><b>${objective.objectiveProgressDescription}</b>`;
// ${bountyDataItem.description}<br />
bountyDataItem.description = `<b>${objective.objectiveProgressDescription}</b>`;
}

bountyData.push(bountyDataItem);
Expand Down Expand Up @@ -289,7 +290,8 @@ function Destiny2Goals() {
}

if (typeof objective.objectiveProgressDescription !== "undefined") {
questDataItem.description = `${questDataItem.description}<br /><b>${objective.objectiveProgressDescription}</b>`;
// ${questDataItem.description}<br />
questDataItem.description = `<b>${objective.objectiveProgressDescription}</b>`;
}

questData.push(questDataItem);
Expand Down Expand Up @@ -333,7 +335,8 @@ function Destiny2Goals() {
}

if (typeof objective.objectiveProgressDescription !== "undefined") {
questDataItem.description = `${questDataItem.description}<br /><b>${objective.objectiveProgressDescription}</b>`;
// ${questDataItem.description}<br />
questDataItem.description = `<b>${objective.objectiveProgressDescription}</b>`;
}

questData.push(questDataItem);
Expand Down Expand Up @@ -366,9 +369,8 @@ function Destiny2Goals() {
type: "characterRecord",
order: 100,
icon: characterRecord.recordIcon,
description: `${characterRecord.recordDescription}<br /><b>${
objective.objectiveProgressDescription ?? ""
}</b>`,
// ${characterRecord.recordDescription}<br />
description: `<b>${objective.objectiveProgressDescription ?? ""}</b>`,
progressToNextLevel: objective.progress,
nextLevelAt: objective.completionValue,
inProgressValueStyle: objective.objectiveInProgressValueStyle,
Expand Down

0 comments on commit 6eb2219

Please sign in to comment.