fix: ctrl+c shortcut, minor ui issues

This commit is contained in:
liyasthomas
2021-08-23 10:22:07 +05:30
parent 294b1a5a7c
commit 91df36ccca
6 changed files with 12 additions and 6 deletions

View File

@@ -126,8 +126,11 @@ export default defineComponent({
const filterText = this.filterText.toLowerCase()
return Object.keys(entry).some((key) => {
let value = entry[key]
value = typeof value !== "string" ? value.toString() : value
return value.toLowerCase().includes(filterText)
if (value) {
value = typeof value !== "string" ? value.toString() : value
return value.toLowerCase().includes(filterText)
}
return false
})
})
},

View File

@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col flex-nowrap flex-1">
<div class="rounded-t tabs hide-scrollbar relative" :class="styles">
<div class="tabs hide-scrollbar relative" :class="styles">
<div class="flex flex-1">
<div class="flex flex-1 justify-between">
<div class="flex">