Skip to content

Commit

Permalink
fix: Unreleased items missing from menu when future is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkunKocyigit committed May 25, 2024
1 parent 74b10b1 commit 385e91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ba-armory",
"version": "1.4.2",
"version": "1.4.3",
"type": "module",
"scripts": {
"format": "prettier --write ./src",
Expand Down
4 changes: 1 addition & 3 deletions src/app/services/data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ export class DataService {
plainToInstance(Equipment, json, {
excludeExtraneousValues: true,
exposeDefaultValues: true,
})
.filter((item) => item.isReleased[this.region])
.map((item) => [item.id, item])
}).map((item) => [item.id, item])
);

for (const [_, item] of this.items) {
Expand Down

0 comments on commit 385e91f

Please sign in to comment.