Skip to content

Commit

Permalink
fix(dashboard): fix requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bryson-g committed Dec 17, 2024
1 parent 768cca3 commit 5f9b97a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getScheduleWfSpec = async ({ name, version, tenantId }: GetWfSpecPr
await client.searchScheduledWfRun({
wfSpecName: name,
majorVersion: parseInt(majorVersion) || 0,
revision: parseInt(revision) | 0,
revision: parseInt(revision) || 0,
})
).results.map(async scheduledWfRun => {
return await client.getScheduledWfRun({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use client'
import LinkWithTenant from '@/app/[tenantId]/components/LinkWithTenant'
import { SearchFooter } from '@/app/[tenantId]/components/SearchFooter'
import { SEARCH_DEFAULT_LIMIT, TIME_RANGES, TimeRange } from '@/app/constants'
import { concatWfRunIds } from '@/app/utils'
Expand All @@ -11,7 +10,6 @@ import { FC, Fragment, useMemo, useState } from 'react'
import { PaginatedWfRunIdList, searchWfRun } from '../actions/searchWfRun'
import { WfRunsHeader } from './WfRunsHeader'
import { SelectionLink } from '@/app/[tenantId]/components/SelectionLink'
import { parseExpression } from 'cron-parser'

export const WfRuns: FC<WfSpec> = spec => {
const searchParams = useSearchParams()
Expand Down

0 comments on commit 5f9b97a

Please sign in to comment.