Skip to content

Commit

Permalink
Clean up milestones and logs even more
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaslin committed Jul 7, 2024
1 parent 7be505f commit 62cf588
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 167 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d2-checklist",
"version": "24.3.4",
"version": "24.4.0",
"manifest": "226472.24.06.26.1731-1-bnet.56090",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ export class AppComponent implements OnInit, OnDestroy, AfterViewInit {
uri: path,
disabled_ads: this.disableads
};
console.dir(event);

(<any>window).dataLayer.push(event);
} catch (err) {
console.dir(err);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!-- Don't show bonus if empty, like legendary gear after hard cap -->
<ng-container *ngIf="bonus!=null">
<ng-container *ngIf="(bonus.min==null || (bonus.min == bonus.max)) else diff">
<ng-container *ngIf="bonus.bonus>0">+</ng-container>{{bonus.bonus}}
<ng-container *ngIf="bonus.bonus>0">+{{bonus.bonus}}</ng-container>
</ng-container>
<ng-template #diff>
<ng-container *ngIf="bonus.min>0">+</ng-container>{{bonus.min}} to
Expand Down
14 changes: 0 additions & 14 deletions src/app/service/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1333,8 +1333,6 @@ export class Const {
public static readonly STADIA_PLATFORM = new Platform(5, 'STADIA', 'Stadia', faGoogle);
public static readonly EPIC_PLATFORM = new Platform(6, 'EPIC', 'Epic', faWindows);



public static readonly HIDE_MILESTONES: string[] = [
'1960571846', '2092845811', '2441610527', '3044632693', // daily focus for Guardian Games
'3581618338', // Master class - guardian games
Expand All @@ -1344,18 +1342,6 @@ export class Const {
'3161426499', // ranked pvp
];

// map string:string
public static readonly MILESTONE_REWARD_OVERRIDES: { [key: string]: string } = {
'541780856': 'Legendary Gear', // Deepstone Crypt
'540415767': 'Legendary Gear', // Crota's End
'1888320892': 'Legendary Gear', // Vault of Glass
'292102995': 'Legendary Gear', // King's Fall
'3181387331': 'Legendary Gear', // Last Wish
'3699252268': 'Legendary Gear', // Root of nightmares
'2136320298': 'Legendary Gear', // Vow
'2712317338': 'Legendary Gear', // Garden of Salvation
};


public static readonly PLATFORMS_ARRAY = [
Const.XBL_PLATFORM, Const.STEAM_PLATFORM, Const.PSN_PLATFORM, Const.STADIA_PLATFORM, Const.BNET_PLATFORM,
Expand Down
Loading

0 comments on commit 62cf588

Please sign in to comment.