diff --git a/web/claw/app/app.vue b/web/claw/app/app.vue index 37aeae4..194778c 100644 --- a/web/claw/app/app.vue +++ b/web/claw/app/app.vue @@ -1096,7 +1096,6 @@ onUnmounted(() => { v-show="route.section === 'agent/general'" :identity="identity" :avatar-url="identityAvatarUrl" - :logo-url="identityLogoUrl" :saving="savingIdentity" :mutating="mutatingIdentity" @save="saveIdentity" diff --git a/web/claw/app/components/settings/AgentGeneralPage.vue b/web/claw/app/components/settings/AgentGeneralPage.vue index 98df3c9..7949bf6 100644 --- a/web/claw/app/components/settings/AgentGeneralPage.vue +++ b/web/claw/app/components/settings/AgentGeneralPage.vue @@ -9,7 +9,6 @@ import type { AgentIdentity, AgentImageKind, IdentityTexts } from '~/composables const props = defineProps<{ identity: AgentIdentity | null avatarUrl: string | null - logoUrl: string | null /** An image upload or clear is in flight. */ mutating: boolean saving: boolean @@ -76,10 +75,9 @@ function save(): void { // --- the images ------------------------------------------------------- const avatarInput = ref(null) -const logoInput = ref(null) -function pickImage(kind: AgentImageKind): void { - ;(kind === 'avatar' ? avatarInput : logoInput).value?.click() +function pickImage(): void { + avatarInput.value?.click() } function onImageChosen(kind: AgentImageKind, event: Event): void { @@ -166,7 +164,7 @@ const CAPS: Record = { = { >
- + @@ -187,24 +185,6 @@ const CAPS: Record = { />
- -
- - - - -
-
@@ -257,11 +237,4 @@ const CAPS: Record = { .image-control input[type='file'] { display: none; } - -.logo-preview { - width: 40px; - height: 40px; - object-fit: contain; - flex: none; -}