diff --git a/frontend/palworld-pal-editor-webui/src/components/PalEditor.vue b/frontend/palworld-pal-editor-webui/src/components/PalEditor.vue index cb2a769..9c50c01 100644 --- a/frontend/palworld-pal-editor-webui/src/components/PalEditor.vue +++ b/frontend/palworld-pal-editor-webui/src/components/PalEditor.vue @@ -9,10 +9,10 @@ function formatString(input) { if (!match) return input; // Return the input as is if it doesn't match the expected pattern const [, numbers, suffix] = match; - + // Pad the numeric part with leading zeros to make it at least 3 digits const paddedNumbers = numbers.padStart(3, '0'); - + // Append the suffix if it exists; otherwise, append an empty space const formatted = suffix ? paddedNumbers + suffix : paddedNumbers; if (suffix) { @@ -43,8 +43,12 @@ function formatString(input) {

Specie:

@@ -179,7 +183,7 @@ function formatString(input) { {{ palStore.displayRating(palStore.PASSIVE_SKILLS[skill]?.Rating) }} {{ palStore.PASSIVE_SKILLS[skill]?.I18n[0] || skill }}

- {{ palStore.PASSIVE_SKILLS[skill]?.I18n[1] || skill}} + {{ palStore.PASSIVE_SKILLS[skill]?.I18n[1] || skill }}