File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 173173
174174 {#if open }
175175 <div transition:slide ={{ duration : 300 , easing : quintOut , axis : ' y' }}>
176- <div class =" border border-gray-50 dark:border-gray-850/30 rounded-2xl my-1.5 p-2.5 space-y-2" >
176+ <div
177+ class =" border border-gray-50 dark:border-gray-850/30 rounded-2xl my-1.5 p-2.5 space-y-2"
178+ >
177179 <!-- Input -->
178180 {#if args }
179181 <div >
Original file line number Diff line number Diff line change @@ -1018,7 +1018,6 @@ ${content}
10181018 onDelete ={() => {
10191019 showDeleteConfirm = true ;
10201020 }}
1021- onChat ={openNoteChat }
10221021 isPinned ={$pinnedNotes .some ((n ) => n .id === note .id )}
10231022 onPin ={async () => {
10241023 await toggleNotePinnedStatusById (localStorage .token , note .id );
Original file line number Diff line number Diff line change 1111 import Link from ' $lib/components/icons/Link.svelte' ;
1212 import Pin from ' $lib/components/icons/Pin.svelte' ;
1313 import PinSlash from ' $lib/components/icons/PinSlash.svelte' ;
14- import ChatBubbleOval from ' $lib/components/icons/ChatBubbleOval.svelte' ;
1514
1615 const i18n = getContext (' i18n' );
1716
2221 export let onDelete = () => {};
2322 export let onPin = null ;
2423 export let isPinned = false ;
25- export let onChat = null ;
2624
2725 export let onCopyLink = null ;
2826 export let onCopyToClipboard = null ;
4240
4341 <div slot =" content" >
4442 <DropdownMenu className =" min-w-[180px]" >
45- {#if onChat }
46- <button
47- class =" select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[13px] hover:text-gray-900 dark:hover:text-gray-100"
48- on:click ={() => {
49- onChat ();
50- show = false ;
51- }}
52- >
53- <ChatBubbleOval className =" size-3.5" strokeWidth =" 2" />
54- <div class ="flex items-center" >{$i18n .t (' Chat with note' )}</div >
55- </button >
56- {/if }
57-
5843 <DropdownSub contentClass =" select-none z-50" >
5944 <button
6045 slot =" trigger"
You can’t perform that action at this time.
0 commit comments