From f3907049eb666996d3602a12bb19544a1701129f Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sun, 11 Jun 2023 22:12:11 -0400 Subject: [PATCH] Only show if available --- packages/client/src/components/MkDialog.vue | 6 +++--- packages/client/src/scripts/search.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 8e6be9d10..fca265c02 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -59,15 +59,15 @@ v-if="input && input.type !== 'paragraph'" v-model="inputValue" autofocus - :type="input.type || 'text'" + :type="input.type == 'searchAdvanced' ? 'search' : input.type || 'text'" :placeholder="input.placeholder || undefined" @keydown="onInputKeydown" - :style="{ width: input.type === 'search' ? '300px' : null }" + :style="{ width: input.type === 'searchAdvanced' ? '300px' : null }" > -