diff --git a/Pkmds.Web/Components/MainTabPages/BadgesComponent.razor b/Pkmds.Web/Components/MainTabPages/BadgesComponent.razor
index 8c17e196..00deab47 100644
--- a/Pkmds.Web/Components/MainTabPages/BadgesComponent.razor
+++ b/Pkmds.Web/Components/MainTabPages/BadgesComponent.razor
@@ -1,13 +1,17 @@
@inherits BasePkmdsComponent
-@{
- var badges = GetSaveFileBadgesValue();
+@if (AppState.SaveFile is SAV7b { Context: EntityContext.Gen7b } or SAV9SV { Context: EntityContext.Gen9 })
+{
}
-@for (var i = 0; i < badges.Count; i++)
+else
{
- var badgeIndex = i;
-
+ var badges = GetSaveFileBadgesValue();
+ @for (var i = 0; i < badges.Count; i++)
+ {
+ var badgeIndex = i;
+
+ }
}