Browse Source

fix(nc-gui): incorrect condition in getLikeText & getNotLikeText

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
26eb441da0
  1. 4
      packages/nc-gui/utils/filterUtils.ts

4
packages/nc-gui/utils/filterUtils.ts

@ -29,14 +29,14 @@ const getNeqText = (fieldUiType: UITypes) => {
}
const getLikeText = (fieldUiType: UITypes) => {
if (UITypes.Attachment) {
if (fieldUiType === UITypes.Attachment) {
return 'filenames contain'
}
return 'is like'
}
const getNotLikeText = (fieldUiType: UITypes) => {
if (UITypes.Attachment) {
if (fieldUiType === UITypes.Attachment) {
return "filenames doesn't contain"
}
return 'is not like'

Loading…
Cancel
Save