Skip to content

Commit

Permalink
hide altLevel if less than normal, refer #72
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Dec 24, 2023
1 parent 0f9a1fb commit 2d28314
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/TechList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{{ levelMap[building.Name] }}
</span>
<span
v-if="levelMapAlt?.[building.Name]"
v-if="levelMapAlt?.[building.Name] > (levelMap?.[building.Name] || 0)"
class="level alt-level"
>
{{ levelMapAlt[building.Name] }}
Expand Down Expand Up @@ -63,7 +63,7 @@
{{ levelMap[ship.Name] }}
</span>
<span
v-if="levelMapAlt?.[ship.Name]"
v-if="levelMapAlt?.[ship.Name] > (levelMap?.[ship.Name] || 0)"
class="level alt-level"
>
{{ levelMapAlt[ship.Name] }}
Expand Down Expand Up @@ -94,7 +94,7 @@
{{ levelMap['AllianceLevel'] }}
</span>
<span
v-if="levelMapAlt?.['AllianceLevel']"
v-if="levelMapAlt?.['AllianceLevel'] > (levelMap?.['AllianceLevel'] || 0)"
class="level alt-level"
>
{{ levelMapAlt['AllianceLevel'] }}
Expand Down Expand Up @@ -133,7 +133,7 @@
{{ levelMap[module.Name] }}
</span>
<span
v-if="levelMapAlt?.[module.Name]"
v-if="levelMapAlt?.[module.Name] > (levelMap?.[module.Name] || 0)"
class="level alt-level"
>
{{ levelMapAlt[module.Name] }}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ModulesCalc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
:on-click="openModuleInfo"
:level-map="input.actually"
:level-map-alt="input.plan"
:is-muted="(k: string) => !input.actually[k]"
:is-muted="(k: string) => !input.plan[k]"
/>
</div>

Expand Down

0 comments on commit 2d28314

Please sign in to comment.