Commit 586de4b5 authored by Marek Veselý's avatar Marek Veselý
Browse files

fix: filter out EMAIL actionLogs for the timeline

parent 2b240ccf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -14,7 +14,10 @@ const useGetVisibleActionLogs = (
    ...query,
    data: {
      ...data,
      actionLogs: data?.actionLogs || [],
      actionLogs: (data?.actionLogs || []).filter(
        // TODO: remove/rework when implementing channels
        actionLog => actionLog?.type !== 'EMAIL'
      ),
    },
  }
}