adjust displayed links depending on type of change

This commit is contained in:
Konstantin Schaper
2020-08-10 11:50:56 +02:00
parent cef36d2763
commit 87f3d78148
8 changed files with 57 additions and 30 deletions

View File

@@ -26,11 +26,12 @@ import DiffFile from "./DiffFile";
import { DiffObjectProps, File } from "./DiffTypes";
import Notification from "../Notification";
import { WithTranslation, withTranslation } from "react-i18next";
import {Changeset} from "@scm-manager/ui-types";
type Props = WithTranslation &
DiffObjectProps & {
diff: File[];
changesetId?: string;
changeset: Changeset;
baseUrl?: string;
};