diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index a7acf99920..3b0e4ac612 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -95,7 +95,7 @@ import CommandSuggestionList from './MessageInput/CommandSuggestionList.svelte'; import Knobs from '../icons/Knobs.svelte'; import ValvesModal from '../workspace/common/ValvesModal.svelte'; - import PageEdit from '../icons/PageEdit.svelte'; + import Note from '../icons/Note.svelte'; import { goto } from '$app/navigation'; import InputModal from '../common/InputModal.svelte'; import Expand from '../icons/Expand.svelte'; @@ -1834,19 +1834,19 @@ {:else} - {#if prompt !== '' && !history?.currentId && ($config?.features?.enable_notes ?? false) && ($_user?.role === 'admin' || ($_user?.permissions?.features?.notes ?? true))} + {#if prompt !== '' && !history?.currentId && !$selectedTerminalId && ($config?.features?.enable_notes ?? false) && ($_user?.role === 'admin' || ($_user?.permissions?.features?.notes ?? true))} {/if}