Skip to content

Commit 8887afa

Browse files
authored
chore: refactor ExecutionForFlowPage (#855)
## Problem - Unable to use this ExecutionForFlowPage in the Admin Panel due to it being nested within the Executions Page - Refactor for consistency as it should be in its own page
1 parent 33cfe42 commit 8887afa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/frontend/src/pages/Executions/ExecutionsForFlowPage.tsx renamed to packages/frontend/src/pages/ExecutionsForFlow/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { GET_EXECUTIONS } from '@/graphql/queries/get-executions'
1515
import { GET_FLOW } from '@/graphql/queries/get-flow'
1616
import { usePaginationAndFilter } from '@/hooks/usePaginationAndFilter'
1717

18-
import StatusInput from './components/StatusInput'
18+
import StatusInput from '../Executions/components/StatusInput'
1919

2020
const RESULTS_PER_PAGE = 10
2121

packages/frontend/src/routes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Applications from '@/pages/Applications'
99
import EditorRoutes from '@/pages/Editor/routes'
1010
import Execution from '@/pages/Execution'
1111
import Executions from '@/pages/Executions'
12-
import ExecutionsForFlowPage from '@/pages/Executions/ExecutionsForFlowPage'
12+
import ExecutionsForFlow from '@/pages/ExecutionsForFlow'
1313
import Flow from '@/pages/Flow'
1414
import Flows from '@/pages/Flows'
1515
import Login from '@/pages/Login'
@@ -48,7 +48,7 @@ export default createRoutesFromElements(
4848
path={URLS.EXECUTIONS_FOR_FLOW_PATTERN}
4949
element={
5050
<Layout>
51-
<ExecutionsForFlowPage />
51+
<ExecutionsForFlow />
5252
</Layout>
5353
}
5454
/>

0 commit comments

Comments
 (0)