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

@@ -44,7 +44,7 @@ const BranchRow: FC<Props> = ({ baseUrl, branch, onDelete }) => {
deleteButton = (
<a className="level-item" onClick={() => onDelete(url)}>
<span className="icon is-small">
<Icon name="trash" className="fas" title={t("branch.delete")} />
<Icon name="trash" className="fas" title={t("branch.delete.button")} />
</span>
</a>
);