From c4cc695b2f4b9763d5b5b5588caac4744b11cf6e Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 11 Jun 2023 23:25:10 -0700 Subject: [PATCH] fix search features --- packages/client/src/components/MkDialog.vue | 12 ++++-------- packages/client/src/scripts/search.ts | 15 +-------------- .../client/src/widgets/server-metric/index.vue | 8 +++++--- 3 files changed, 10 insertions(+), 25 deletions(-) diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 249bc18c5..10300a32f 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -59,21 +59,17 @@ v-if="input && input.type !== 'paragraph'" v-model="inputValue" autofocus - :type=" - input.type == 'searchAdvanced' - ? 'search' - : input.type || 'text' - " + :type="input.type == 'search' ? 'search' : input.type || 'text'" :placeholder="input.placeholder || undefined" @keydown="onInputKeydown" :style="{ - width: input.type === 'searchAdvanced' ? '300px' : null, + width: input.type === 'search' ? '300px' : null, }" > -