change the text of the unset start and end time in scheduled transaction

This commit is contained in:
MaysWind
2025-06-22 18:07:11 +08:00
parent 57ead2937b
commit 481618037d
14 changed files with 18 additions and 2 deletions
@@ -258,6 +258,7 @@
:disabled="loading || submitting"
:clearable="true"
:label="tt('Start Date')"
:no-data-text="tt('No limit')"
v-model="transaction.scheduledStartDate" />
</v-col>
<v-col cols="12" md="6" v-if="type === TransactionEditPageType.Template && transaction instanceof TransactionTemplate && transaction.templateType === TemplateType.Schedule.type">
@@ -266,6 +267,7 @@
:disabled="loading || submitting"
:clearable="true"
:label="tt('End Date')"
:no-data-text="tt('No limit')"
v-model="transaction.scheduledEndDate" />
</v-col>
<v-col cols="12" md="12" v-if="type === TransactionEditPageType.Transaction">
+2 -2
View File
@@ -756,7 +756,7 @@ const transactionDisplayScheduledStartDate = computed<string>(() => {
if (template.scheduledStartDate) {
return formatDateToLongDate(template.scheduledStartDate);
} else {
return tt('Unspecified');
return tt('No limit');
}
});
@@ -770,7 +770,7 @@ const transactionDisplayScheduledEndDate = computed<string>(() => {
if (template.scheduledEndDate) {
return formatDateToLongDate(template.scheduledEndDate);
} else {
return tt('Unspecified');
return tt('No limit');
}
});