mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
fix: make scroll names clickable in favorite scrolls detail view
Wraps scroll names in ClickableEventTitle so clicking opens the scroll's detail view with the executor.
This commit is contained in:
@@ -56,9 +56,12 @@ function ScrollRefItem({
|
||||
<div className="flex items-center gap-3 p-3 border border-border/50 rounded group hover:bg-muted/30 transition-colors">
|
||||
<ScrollIconImage iconUrl={iconUrl} className="size-4" />
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="text-sm font-medium truncate">
|
||||
<ClickableEventTitle
|
||||
event={scrollEvent}
|
||||
className="text-sm font-medium truncate flex items-center gap-1.5"
|
||||
>
|
||||
{name || "Unnamed Scroll"}
|
||||
</div>
|
||||
</ClickableEventTitle>
|
||||
<div className="text-xs text-muted-foreground mt-0.5">
|
||||
{params.length > 0 && (
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user