From c57c72cc39bbe6498771276162e39f32a33e798f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 19 Dec 2023 20:10:58 -0800 Subject: [PATCH] fix: disable profile image drag --- src/lib/components/chat/Messages.svelte | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 9a39089d..543ce6a5 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -362,9 +362,19 @@
{#if selectedModelfile && selectedModelfile.imageUrl} - + modelfile {:else} - + ollama {/if}
@@ -401,12 +411,14 @@ src="{$settings.gravatarUrl ? $settings.gravatarUrl : '/user'}.png" class=" max-w-[28px] object-cover rounded-full" alt="User profile" + draggable="false" /> {:else} User profile {/if} {:else if selectedModelfile} @@ -414,12 +426,14 @@ src={selectedModelfile?.imageUrl ?? '/favicon.png'} class=" max-w-[28px] object-cover rounded-full" alt="Ollama profile" + draggable="false" /> {:else} Ollama profile {/if}