Refine transaction list rows

This commit is contained in:
2026-08-13 16:38:59 +09:00
parent d3a4cf277e
commit cecd390b33
8 changed files with 100 additions and 57 deletions

View File

@@ -42,7 +42,7 @@ export default defineEventHandler(async (event) => {
categoryId: body.categoryId,
amount: Number(body.amount),
title: body.title.trim(),
memo: body.memo?.trim() || null,
memo: body.memo?.trim().slice(0, 60) || null,
latitude: body.latitude ?? null,
longitude: body.longitude ?? null
},

View File

@@ -38,7 +38,7 @@ export default defineEventHandler(async (event) => {
categoryId: body.categoryId,
amount: Number(body.amount),
title: body.title.trim(),
memo: body.memo?.trim() || null,
memo: body.memo?.trim().slice(0, 60) || null,
latitude: body.latitude ?? null,
longitude: body.longitude ?? null
}