You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/10/29 05:45:10 UTC
[incubator-superset] 27/33: Update
superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
This is an automated email from the ASF dual-hosted git repository.
yjc pushed a commit to branch home-screen-mvp
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 65b24f11e119e7a86f03f0a5019d9eac7eeef15d
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Fri Oct 23 11:54:57 2020 -0700
Update superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
Co-authored-by: Evan Rusackas <ev...@preset.io>
---
superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
index 63a1455..ed963f6 100644
--- a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
+++ b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
@@ -99,7 +99,7 @@ export default function ActivityTable({ user }: ActivityProps) {
const getIconName = (e: MapProps) => {
if (e.sql) return 'sql';
- if (e.url?.indexOf('dashboard') !== -1) {
+ if (e.url?.includes('dashboard')) {
return 'nav-dashboard';
}
if (e.url?.indexOf('explore') !== -1) {