diff --git a/superset/assets/javascripts/profile/components/RecentActivity.jsx b/superset/assets/javascripts/profile/components/RecentActivity.jsx index 7099a08649095..14cf7a8ddc74f 100644 --- a/superset/assets/javascripts/profile/components/RecentActivity.jsx +++ b/superset/assets/javascripts/profile/components/RecentActivity.jsx @@ -12,12 +12,14 @@ export default class RecentActivity extends React.PureComponent { render() { const rowLimit = 50; const mutator = function (data) { - return data.map(row => ({ - name: {row.item_title}, - type: row.action, - time: moment.utc(row.time).fromNow(), - _time: row.time, - })); + return data + .filter(row => row.action === 'dashboard' || row.action === 'explore') + .map(row => ({ + name: {row.item_title}, + type: row.action, + time: moment.utc(row.time).fromNow(), + _time: row.time, + })); }; return (