From fb8a3a0fee058bfd9f4ae22a00e6406719e1d06f Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Wed, 5 Apr 2023 23:30:44 +0200 Subject: refactor(tool): better new tool logic --- scripts/create-tool.mjs | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/create-tool.mjs') diff --git a/scripts/create-tool.mjs b/scripts/create-tool.mjs index 33ab807..36a20d8 100644 --- a/scripts/create-tool.mjs +++ b/scripts/create-tool.mjs @@ -55,6 +55,7 @@ export const tool = defineTool({ keywords: ['${toolName.split('-').join("', '")}'], component: () => import('./${toolName}.vue'), icon: ArrowsShuffle, + createdAt: new Date('${new Date().toISOString().split('T')[0]}'), }); `, ); -- cgit v1.2.3