Fix Vue production build type errors in activity form and date picker.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -95,12 +95,6 @@ const duePreview = computed(() => {
|
||||
return `${formatJalaliNumeric(d)} ${toFaDigits((dueTime.value || '00:00').replace(':', ':'))}`;
|
||||
});
|
||||
|
||||
const reminderLabel = computed(() => {
|
||||
if (!reminderAt.value) return 'یادآوری تنظیم نشده است';
|
||||
const d = parseLocalInput(reminderAt.value);
|
||||
return d ? `${formatJalaliNumeric(d)} ${toFaDigits(String(d.getHours()).padStart(2, '0'))}:${toFaDigits(String(d.getMinutes()).padStart(2, '0'))}` : 'یادآوری تنظیم نشده است';
|
||||
});
|
||||
|
||||
const statusText = computed(() => (isDone.value ? 'انجام شده' : 'انجام نشده'));
|
||||
const priorityText = computed(
|
||||
() => priorityOptions.find((p) => p.value === priority.value)?.label || '—',
|
||||
|
||||
Reference in New Issue
Block a user