fix: save btn with show amount

This commit is contained in:
puriphatt 2024-08-16 15:31:49 +07:00
parent b3922cddff
commit cc2e49f735
2 changed files with 6 additions and 1 deletions

View file

@ -10,6 +10,8 @@ defineProps<{
outlined?: boolean;
disabled?: boolean;
dark?: boolean;
amount?: number;
}>();
</script>
@ -21,6 +23,6 @@ defineProps<{
color="207 96% 32%"
:title="iconOnly ? $t('save') : undefined"
>
{{ $t('save') }}
{{ $t('save') }} {{ amount && amount > 0 ? `(${amount})` : '' }}
</MainButton>
</template>