mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
use distinct icons for share and make private actions
This commit is contained in:
parent
3de8ac90d8
commit
bcb202dfe1
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { Globe, PenLine, Plus, Sparkles, Trash2 } from "lucide-react";
|
||||
import { Globe, Lock, PenLine, Plus, Sparkles, Trash2 } from "lucide-react";
|
||||
import { useCallback, useEffect, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
|
@ -244,7 +244,7 @@ export function PromptsContent() {
|
|||
}}
|
||||
className="flex items-center justify-center size-7 rounded-md text-muted-foreground hover:text-foreground hover:bg-accent transition-colors"
|
||||
>
|
||||
<Globe className={`size-3.5 ${prompt.is_public ? "text-primary" : ""}`} />
|
||||
{prompt.is_public ? <Lock className="size-3.5" /> : <Globe className="size-3.5" />}
|
||||
</button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue