Skip to content

Commit

Permalink
fix rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
safeer committed Oct 1, 2024
1 parent f360cbe commit 24b8c4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/console/src/features/timeline/TimelineEventList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Event } from '../../protos/xyz/block/ftl/v1/console/console_pb'
import { formatTimestampShort } from '../../utils'
import { deploymentTextColor } from '../deployments/deployment.utils'
import { TimelineCall } from './TimelineCall'
import { TimelineCronScheduled } from './TimelineCronScheduled.tsx'
import { TimelineDeploymentCreated } from './TimelineDeploymentCreated'
import { TimelineDeploymentUpdated } from './TimelineDeploymentUpdated'
import { TimelineIcon } from './TimelineIcon'
Expand All @@ -26,6 +27,8 @@ const deploymentKey = (event: Event) => {
return event.entry.value.key
case 'ingress':
return event.entry.value.deploymentKey
case 'cronScheduled':
return event.entry.value.deploymentKey
default:
return ''
}
Expand Down Expand Up @@ -72,6 +75,8 @@ export const TimelineEventList = ({ events, selectedEventId, handleEntryClicked
return <TimelineDeploymentUpdated deployment={entry.entry.value} />
case 'ingress':
return <TimelineIngress ingress={entry.entry.value} />
case 'cronScheduled':
return <TimelineCronScheduled cron={entry.entry.value} />
default:
return null
}
Expand Down

0 comments on commit 24b8c4c

Please sign in to comment.