add 'delete branch' function to frontend

This commit is contained in:
Eduard Heimbuch
2020-11-11 15:58:58 +01:00
parent bb82c18e2b
commit 20d2f6b5d5
12 changed files with 249 additions and 32 deletions

View File

@@ -28,10 +28,9 @@ import { compose } from "redux";
import { Redirect, Route, Switch, withRouter } from "react-router-dom";
import { Branch, Repository } from "@scm-manager/ui-types";
import { fetchBranch, getBranch, getFetchBranchFailure, isFetchBranchPending } from "../modules/branches";
import { ErrorNotification, Loading, NotFoundError } from "@scm-manager/ui-components";
import { ErrorNotification, Loading, NotFoundError, urls } from "@scm-manager/ui-components";
import { History } from "history";
import queryString from "query-string";
import { urls } from "@scm-manager/ui-components";
type Props = {
repository: Repository;