Skip to content

Commit ac33927

Browse files
committed
fix pr comments
1 parent fe35138 commit ac33927

File tree

1 file changed

+1
-3
lines changed
  • redisinsight/ui/src/pages/slowLog/components/Actions

1 file changed

+1
-3
lines changed

redisinsight/ui/src/pages/slowLog/components/Actions/Actions.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ const Actions = (props: Props) => {
7676
const handleChangeAutoRefreshRate = (enableAutoRefresh: boolean, refreshRate: string) => {
7777
if (enableAutoRefresh) {
7878
sendEventTelemetry({
79-
event: enableAutoRefresh
80-
? TelemetryEvent.SLOWLOG_AUTO_REFRESH_ENABLED
81-
: TelemetryEvent.SLOWLOG_AUTO_REFRESH_DISABLED,
79+
event: TelemetryEvent.SLOWLOG_AUTO_REFRESH_ENABLED,
8280
eventData: {
8381
databaseId: instanceId,
8482
refreshRate: +refreshRate

0 commit comments

Comments
 (0)