From c500823f7ad74519fe939e46592080801b60bdfc Mon Sep 17 00:00:00 2001 From: "J.C. Zhong" Date: Mon, 13 Mar 2023 15:49:51 -0700 Subject: [PATCH] fix: check nullish of table property value (#1197) --- .../components/DataTableViewOverview/DataTableViewOverview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/querybook/webapp/components/DataTableViewOverview/DataTableViewOverview.tsx b/querybook/webapp/components/DataTableViewOverview/DataTableViewOverview.tsx index aef6f907f..b36d50054 100644 --- a/querybook/webapp/components/DataTableViewOverview/DataTableViewOverview.tsx +++ b/querybook/webapp/components/DataTableViewOverview/DataTableViewOverview.tsx @@ -155,7 +155,7 @@ export const DataTableViewOverview: React.FC< table.custom_properties ?? {} ).map(([key, value]) => ( - {/https?:\/\/[^\s]+/.test(value.trim()) ? ( + {value && /https?:\/\/[^\s]+/.test(value.trim()) ? ( {value}