From 83bb765bcce02fb48adc2e1e455d1badb6f76326 Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 14 Aug 2025 10:55:49 +0700 Subject: [PATCH] Apply suggestion from @ellipsis-dev[bot] Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --- web-app/src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-app/src/lib/utils.ts b/web-app/src/lib/utils.ts index ed2ec2bab..3d896b883 100644 --- a/web-app/src/lib/utils.ts +++ b/web-app/src/lib/utils.ts @@ -157,5 +157,5 @@ export function formatDuration(startTime: number, endTime?: number): string { } export function sanitizeModelId(modelId: string): string { - return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(".", "_") + return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(/\./g, "_") }