Change routing rules in workflow pages (#882)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user