diff --git a/lib/assets/javascripts/new-dashboard/pages/Home/RecentSection/RecentSection.vue b/lib/assets/javascripts/new-dashboard/pages/Home/RecentSection/RecentSection.vue index d0cf6889f727..e8b81cb1c0a7 100644 --- a/lib/assets/javascripts/new-dashboard/pages/Home/RecentSection/RecentSection.vue +++ b/lib/assets/javascripts/new-dashboard/pages/Home/RecentSection/RecentSection.vue @@ -64,8 +64,17 @@ export default { return state.recentContent.isFetching; }, recentContent: state => { - if (state.config.cartodb_com_hosted) { - return state.recentContent.list.filter(l => l.type !== 'keplergl'); + if ( + state.config.cartodb_com_hosted && + state.recentContent.list + ) { + const recentContent = {}; + Object.entries(state.recentContent.list).forEach(([key, value]) => { + if (value.type !== 'keplergl') { + recentContent[key] = value; + } + }); + return recentContent; } else { return state.recentContent.list; } diff --git a/package-lock.json b/package-lock.json index a0cad3c77944..0204049eb90f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cartodb-ui", - "version": "1.0.0-assets.247-001", + "version": "1.0.0-assets.248", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 70a2bdecef02..c734b663cf6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cartodb-ui", - "version": "1.0.0-assets.247", + "version": "1.0.0-assets.248", "description": "CARTO UI frontend", "repository": { "type": "git",