Skip to content

Commit

Permalink
Buffix
Browse files Browse the repository at this point in the history
  • Loading branch information
QartemisT committed Jan 16, 2025
1 parent 62701c7 commit 2b35a76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,19 +636,19 @@ const load = () => {
AbilitiesRemoved: {},
}
const oldStore = {};
let JournalEncounterSection = cacheData.journalencountersection;
if(shouldDiff) {
cacheDataOld.journalencountersection
.map(data => {
oldStore[data.ID] = data;
});
cacheDataOld.journalencountersection.map(e => {
if (JournalEncounterSection.filter(section => section.ID === e.ID).length < 1) {
e.isRemoved = true;
JournalEncounterSection.push(e);
}
});
}
let JournalEncounterSection = cacheData.journalencountersection;
cacheDataOld.journalencountersection.map(e => {
if (JournalEncounterSection.filter(section => section.ID === e.ID).length < 1) {
e.isRemoved = true;
JournalEncounterSection.push(e);
}
});
JournalEncounterSection
.map(data => {
if (
Expand Down

0 comments on commit 2b35a76

Please sign in to comment.