feat: update profile button label based on isUpdate flag

This commit is contained in:
Massedil
2025-06-17 16:01:07 +02:00
parent a2af49cbab
commit b92646aaf7
3 changed files with 3 additions and 1 deletions

View File

@@ -90,7 +90,7 @@
<o-field class="flex justify-center !my-6">
<div class="control">
<o-button type="button" variant="primary" @click="submit()">
{{ t("Create my profile") }}
{{ t(isUpdate ? "Update my profile" : "Create my profile") }}
</o-button>
</div>
</o-field>