Change routing rules in workflow pages (#882)

This commit is contained in:
Kerem Yilmaz
2024-09-25 07:15:02 -07:00
committed by GitHub
parent 8a93c08d67
commit dfc769f807
5 changed files with 22 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import GitHubButton from "react-github-btn";
import { Link, useMatch } from "react-router-dom";
function Header() {
const match = useMatch("/workflows/:workflowPermanentId");
const match = useMatch("/workflows/:workflowPermanentId/edit");
if (match) {
return null;