Merge branch 'dev' into feature/plugin-v2

This commit is contained in:
Alex Ling
2022-01-21 13:20:23 +00:00
16 changed files with 507 additions and 53 deletions
+1 -3
View File
@@ -242,8 +242,6 @@ const component = () => {
if (filter.type.startsWith("number") && isNaN(filter.value))
continue;
console.log("applying filter:", filter);
if (filter.type === "string") {
ary = ary.filter((ch) =>
ch[filter.key]
@@ -417,7 +415,7 @@ const component = () => {
"MMM D, YYYY"
)}</span>`;
const maxLength = 40;
if (value.length > maxLength)
if (value && value.length > maxLength)
return `<span>${value.substr(
0,
maxLength