(path: string)
| 334 | ]; |
| 335 | |
| 336 | const isActive = (path: string) => { |
| 337 | if (path === '/') { |
| 338 | return location.pathname === '/' || location.pathname.startsWith('/workflows'); |
| 339 | } |
| 340 | return location.pathname === path || location.pathname.startsWith(`${path}/`); |
| 341 | }; |
| 342 | |
| 343 | // Get page-specific actions |
| 344 | const getPageActions = () => { |