From bdc41f11449ca917c52a3dad537ee7d456813ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Ma=C3=B1osa?= Date: Sat, 24 Oct 2020 23:52:53 +0200 Subject: [PATCH] fix(docs): string interpolation in display method body Co-authored-by: Eric Liu --- docs/src/pages/components/DataTable.svx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/components/DataTable.svx b/docs/src/pages/components/DataTable.svx index 13375482..f734525c 100644 --- a/docs/src/pages/components/DataTable.svx +++ b/docs/src/pages/components/DataTable.svx @@ -199,7 +199,7 @@ The slot name for the table header cells is `"cell-header"`. { key: "name", value: "Name" }, { key: "protocol", value: "Protocol" }, { key: "port", value: "Port" }, - { key: "cost", value: "Cost", display: (cost) => `${cost} €` }, + { key: "cost", value: "Cost", display: (cost) => cost + " €" }, { key: "expireDate", value: "Expire date", @@ -819,4 +819,4 @@ The slot name for the table header cells is `"cell-header"`. ### Skeleton (compact size) - \ No newline at end of file +