refac
This commit is contained in:
1 parent
4ec6ee1441
commit
6e468c5b95
2 files changed
+12
-3
No files matched your search
@@ -89,6 +89,14 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Handle type="target" position={Position.Top} class="w-2 rounded-full dark:bg-gray-900" />
|
<Handle
|
||||||
<Handle type="source" position={Position.Bottom} class="w-2 rounded-full dark:bg-gray-900" />
|
type="target"
|
||||||
|
position={data?.direction === 'horizontal' ? Position.Left : Position.Top}
|
||||||
|
class="w-2 rounded-full dark:bg-gray-900"
|
||||||
|
/>
|
||||||
|
<Handle
|
||||||
|
type="source"
|
||||||
|
position={data?.direction === 'horizontal' ? Position.Right : Position.Bottom}
|
||||||
|
class="w-2 rounded-full dark:bg-gray-900"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -105,7 +105,8 @@
|
|||||||
data: {
|
data: {
|
||||||
user: chatUser ?? $user,
|
user: chatUser ?? $user,
|
||||||
message: history.messages[id],
|
message: history.messages[id],
|
||||||
model: $models.find((model) => model.id === history.messages[id].model)
|
model: $models.find((model) => model.id === history.messages[id].model),
|
||||||
|
direction
|
||||||
},
|
},
|
||||||
position: { x, y }
|
position: { x, y }
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user