mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
refactor(automations): update icons and button labels in empty state and header components
- Replaced the FileJson icon with SquarePen in both AutomationsEmptyState and AutomationsHeader components. - Updated button label from "Create via JSON" to "Create manually" for clarity in the automation creation process.
This commit is contained in:
parent
d013617bf6
commit
6b76f8c138
2 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
"use client";
|
||||
import { FileJson, MessageSquarePlus, Workflow } from "lucide-react";
|
||||
import { MessageSquarePlus, SquarePen, Workflow } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
|
|
@ -35,8 +35,8 @@ export function AutomationsEmptyState({ searchSpaceId, canCreate }: AutomationsE
|
|||
</Button>
|
||||
<Button asChild variant="outline">
|
||||
<Link href={`/dashboard/${searchSpaceId}/automations/new`}>
|
||||
<FileJson className="mr-2 h-4 w-4" />
|
||||
Create via JSON
|
||||
<SquarePen className="mr-2 h-4 w-4" />
|
||||
Create manually
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"use client";
|
||||
import { FileJson, MessageSquarePlus } from "lucide-react";
|
||||
import { MessageSquarePlus, SquarePen } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
|
|
@ -42,8 +42,8 @@ export function AutomationsHeader({
|
|||
<div className="flex items-center gap-2">
|
||||
<Button asChild size="sm" variant="outline">
|
||||
<Link href={`/dashboard/${searchSpaceId}/automations/new`}>
|
||||
<FileJson className="mr-2 h-4 w-4" />
|
||||
Create via JSON
|
||||
<SquarePen className="mr-2 h-4 w-4" />
|
||||
Create manually
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild size="sm">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue