Skip to content

Commit b1b5654

Browse files
committed
Refactor model name replacement logic in DashboardGrid.tsx
1 parent dedf3c5 commit b1b5654

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/ui/src/components/Dashboard/DashboardGrid.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ export const DashboardGrid = () => {
4444
<div className="w-full">
4545
<div className="flex items-end justify-between">
4646
<span className="text-xs lowercase text-scale-1000 text-gray-600 dark:text-gray-400">
47-
{bot.model.replace("-dbase", "")}
47+
{bot.model
48+
.replace("-dbase", "")
49+
.replace(/_dialoqbase_[0-9]+$/, "")}
4850
</span>
4951
</div>
5052
</div>

0 commit comments

Comments
 (0)