mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 10:16:16 +01:00
11 lines
409 B
JavaScript
11 lines
409 B
JavaScript
|
|
import { binder } from "@scm-manager/ui-extensions";
|
||
|
|
import ProtocolInformation from './ProtocolInformation';
|
||
|
|
import SvnAvatar from './SvnAvatar';
|
||
|
|
|
||
|
|
const svnPredicate = (props: Object) => {
|
||
|
|
return props.repository && props.repository.type === "svn";
|
||
|
|
};
|
||
|
|
|
||
|
|
binder.bind("repos.repository-details.information", ProtocolInformation, svnPredicate);
|
||
|
|
binder.bind("repos.repository-avatar", SvnAvatar, svnPredicate);
|