Skip to content

Commit

Permalink
mod name support -> combat
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Nov 4, 2023
1 parent 5fbf01a commit 40d77f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ModulePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Page
:title-loc-key="locKey"
:content-args="{data, iconDir: 'game/Modules', tableOpts}"
:portrait="{src: img, alt: `${type} modules`}"
:portrait="{src: img, alt: `${type} modules portrait`}"
/>
</template>

Expand Down Expand Up @@ -72,6 +72,6 @@ const props = withDefaults(defineProps<Props>(), {
});
const data = props.postFilter(getBySlotType(props.type));
const img = require(`@Img/game/portraits/${props.portrait}`) as string;
const locKey = `TYPE_MOD_${props.type.toUpperCase()}`;
const locKey = `TYPE_MOD_${(props.type == 'Support' ? 'COMBAT' : props.type).toUpperCase()}`;
const tableOpts = computed(tableOptsGetter);
</script>

0 comments on commit 40d77f3

Please sign in to comment.