diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx index b8e982b62..983c590f6 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx @@ -44,7 +44,9 @@ function CustomMetricTableErrors(props: RouteComponentProps) { >
{metric.data.errors && metric.data.errors.map((error: any, index: any) => ( - onErrorClick(e, error)} /> +
+ onErrorClick(e, error)} /> +
))} {isEdit && ( diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableSessions/CustomMetricTableSessions.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableSessions/CustomMetricTableSessions.tsx index 4c06664c7..c5ab0ee85 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableSessions/CustomMetricTableSessions.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableSessions/CustomMetricTableSessions.tsx @@ -20,8 +20,8 @@ function CustomMetricTableSessions(props: Props) { >
{metric.data.sessions && metric.data.sessions.map((session: any, index: any) => ( -
- +
+
))} diff --git a/frontend/app/components/Dashboard/components/Errors/ErrorListItem/ErrorListItem.tsx b/frontend/app/components/Dashboard/components/Errors/ErrorListItem/ErrorListItem.tsx index d6e52638f..2d76241b3 100644 --- a/frontend/app/components/Dashboard/components/Errors/ErrorListItem/ErrorListItem.tsx +++ b/frontend/app/components/Dashboard/components/Errors/ErrorListItem/ErrorListItem.tsx @@ -27,7 +27,7 @@ function ErrorListItem(props: Props) { // } return (
diff --git a/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx b/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx index 2f7f06bcf..19587be83 100644 --- a/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx +++ b/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx @@ -89,7 +89,7 @@ function EmptyStage({ total }: any) {
{`+${total} ${total > 1 ? 'steps' : 'step'}`}
-
+
)) } diff --git a/frontend/app/duck/roles.js b/frontend/app/duck/roles.js index 8a8415475..139e3c29e 100644 --- a/frontend/app/duck/roles.js +++ b/frontend/app/duck/roles.js @@ -2,7 +2,7 @@ import { List, Map } from 'immutable'; import Role from 'Types/role'; import crudDuckGenerator from './tools/crudDuck'; import { reduceDucks } from 'Duck/tools'; -import { array, request, success, failure, createListUpdater, mergeReducers } from './funcTools/tools'; +import { createListUpdater } from './funcTools/tools'; const crudDuck = crudDuckGenerator('client/role', Role, { idKey: 'roleId' }); export const { fetchList, init, edit, remove, } = crudDuck.actions; @@ -14,14 +14,14 @@ const initialState = Map({ permissions: List([ { text: 'Session Replay', value: 'SESSION_REPLAY' }, { text: 'Developer Tools', value: 'DEV_TOOLS' }, - { text: 'Errors', value: 'ERRORS' }, - { text: 'Metrics', value: 'METRICS' }, + // { text: 'Errors', value: 'ERRORS' }, + { text: 'Dashboard', value: 'METRICS' }, { text: 'Assist (Live)', value: 'ASSIST_LIVE' }, { text: 'Assist (Call)', value: 'ASSIST_CALL' }, ]) }); -const name = "role"; +// const name = "role"; const idKey = "roleId"; const updateItemInList = createListUpdater(idKey);