mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-28 14:32:26 +00:00
15 lines
394 B
JavaScript
15 lines
394 B
JavaScript
import path from 'path'
|
|
|
|
export const routes = [
|
|
{
|
|
name: 'automation-workflow',
|
|
path: '/automation/:automationId/workflow/:workflowId',
|
|
component: path.resolve(__dirname, 'pages/automationWorkflow.vue'),
|
|
props(route) {
|
|
const p = { ...route.params }
|
|
p.automationId = parseInt(p.automationId)
|
|
p.workflowId = parseInt(p.workflowId)
|
|
return p
|
|
},
|
|
},
|
|
]
|