Skip to content

Commit

Permalink
[core] fix character search showing UNKNOWN (WoWAnalyzer#7010)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppleTheNun authored Sep 10, 2024
1 parent 46f9c60 commit f4d4a12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/CHANGELOG.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import SpellLink from 'interface/SpellLink';

// prettier-ignore
export default [
change(date(2024, 9, 9), 'Fix character search showing UNKNOWN instead of THE WAR WITHIN.', ToppleTheNun),
change(date(2024, 9, 8), "Add Nerub'ar Palace bosses and season 1 M+ dungeons.", ToppleTheNun),
change(date(2024, 9, 5), 'Update Rogue spells for Classic Cataclysm', jazminite),
change(date(2024, 9, 4), 'Updates to Active Time calculation to avoid cases where overcount could occur.', Sref),
Expand Down
2 changes: 1 addition & 1 deletion src/game/Expansion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enum ExpansionName {
WrathOfTheLichKing = 'wotlk',
Cataclysm = 'cataclysm',
Dragonflight = 'dragonflight',
TheWarWithin = 'UNKNOWN',
TheWarWithin = 'the war within',
}

export const CLASSIC_EXPANSION = Expansion.Cataclysm;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Spell, { Enchant } from 'common/SPELLS/Spell';
import EnchantmentSubSection from './EnchantmentSubSection';
import ConsumablesSubSection from './ConsumablesSubSection';
import EnhancementSubSection from 'interface/guide/components/Preparation/EnhancementSubSection';
import Expansion, { isRetailExpansion } from 'game/Expansion';
import Expansion, { isRetailExpansion, RETAIL_EXPANSION } from 'game/Expansion';

interface Props {
recommendedEnchantments?: Record<number, Enchant[]>;
Expand All @@ -18,7 +18,7 @@ const PreparationSection = ({
recommendedFlasks,
recommendedFoods,
recommendedWeaponEnhancements,
expansion = Expansion.Dragonflight,
expansion = RETAIL_EXPANSION,
}: Props) => (
<Section title="Preparation">
<EnchantmentSubSection recommendedEnchantments={recommendedEnchantments} />
Expand Down

0 comments on commit f4d4a12

Please sign in to comment.