Skip to content

Commit

Permalink
BugFix: Use recentFlowRunFilter instead of flowRunFilter (#8380)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhen0 authored and serinamarie committed Feb 6, 2023
1 parent 962fc7c commit 04bd7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orion-ui/src/pages/WorkPoolQueue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</template>

<script lang="ts" setup>
import { useWorkspaceApi, PageHeadingWorkPoolQueue, CodeBanner, WorkPoolQueueDetails, WorkPoolQueueUpcomingFlowRunsList, useFlowRunFilter, FlowRunFilteredList } from '@prefecthq/orion-design'
import { useWorkspaceApi, PageHeadingWorkPoolQueue, CodeBanner, WorkPoolQueueDetails, WorkPoolQueueUpcomingFlowRunsList, useRecentFlowRunFilter, FlowRunFilteredList } from '@prefecthq/orion-design'
import { media } from '@prefecthq/prefect-design'
import { useRouteParam, useSubscription } from '@prefecthq/vue-compositions'
import { computed } from 'vue'
Expand All @@ -52,7 +52,7 @@
const workPoolWorkerName = computed(() => workPoolWorkers.value[0]?.name ?? '<worker name>')
const workPoolQueueCliCommand = computed(() => `prefect agent start --pool ${workPoolName.value} --queue ${workPoolQueueName.value}`)
const flowRunFilter = useFlowRunFilter({ workPoolQueueName: [workPoolQueueName.value], workPoolName: [workPoolName.value] })
const flowRunFilter = useRecentFlowRunFilter({ workPoolQueueName: [workPoolQueueName.value], workPoolName: [workPoolName.value] })
const tabs = computed(() => {
const values = ['Upcoming Runs', 'Runs']
Expand Down

0 comments on commit 04bd7b4

Please sign in to comment.