Browse Source

fix: search case sensitive

pull/6340/head
DarkPhoenix2704 1 year ago
parent
commit
a8702d5c46
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

2
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -386,7 +386,7 @@ useMenuCloseOnEsc(open)
</template>
<template v-if="activeView?.type === ViewTypes.GRID" #header>
<div
v-if="gridDisplayValueField && filteredFieldList[0].title.includes(filterQuery)"
v-if="gridDisplayValueField && filteredFieldList[0].title.toLowerCase().includes(filterQuery.toLowerCase())"
:key="`pv-${gridDisplayValueField.id}`"
class="pl-7.5 pr-2.1 py-1.9 flex flex-row items-center border-1 rounded-t-lg border-gray-200"
:data-testid="`nc-fields-menu-${gridDisplayValueField.title}`"

Loading…
Cancel
Save