From: Christian Heller Date: Sun, 8 Feb 2026 17:01:11 +0000 (+0100) Subject: In /edit_structured view, fix broken "replace string" button. X-Git-Url: https://plomlompom.com/repos/booking/%22https:/validator.w3.org/%7B%7Bprefix%7D%7D?a=commitdiff_plain;h=f736001d68b3e35a1f281c12ab78d891b46f69fb;p=ledgplom In /edit_structured view, fix broken "replace string" button. --- diff --git a/src/templates/edit_structured.js b/src/templates/edit_structured.js index 1bd52e9..a32a5a2 100644 --- a/src/templates/edit_structured.js +++ b/src/templates/edit_structured.js @@ -357,7 +357,7 @@ const replace = () => { Object.keys(bookingLine). filter((key) => key !== "errors"). forEach((key) => { - bookingLine[key] = bookingLine[key].replaceAll( + bookingLine[key] = bookingLine[key].toString().replaceAll( replFrom, replTo );