Skip to content

Commit 89548f8

Browse files
Copilothotlong
andcommitted
fix: rename 'New View' button to 'Add View' to avoid test conflict with existing 'New' button
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 7355fa6 commit 89548f8

2 files changed

Lines changed: 503 additions & 2 deletions

File tree

apps/console/src/components/ObjectView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ export function ObjectView({ dataSource, objects, onEdit, onRowClick }: any) {
241241
variant="outline"
242242
onClick={() => navigate(viewId ? '../../views/new' : 'views/new')}
243243
className="shadow-none gap-1.5 h-8 sm:h-9 hidden sm:flex"
244-
title="Create a new view"
244+
title="Add a view"
245245
>
246246
<Plus className="h-4 w-4" />
247-
<span className="hidden lg:inline">New View</span>
247+
<span className="hidden lg:inline">Add View</span>
248248
</Button>
249249
<Button size="sm" onClick={actions.create} className="shadow-none gap-1.5 sm:gap-2 h-8 sm:h-9">
250250
<Plus className="h-4 w-4" />

0 commit comments

Comments
 (0)