mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
add extension point
This commit is contained in:
@@ -3,6 +3,7 @@ import React from "react";
|
||||
import type { Changeset } from "@scm-manager/ui-types";
|
||||
import { translate } from "react-i18next";
|
||||
import { MailLink, DateFromNow } from "@scm-manager/ui-components";
|
||||
import ChangesetAvatar from "./ChangesetAvatar";
|
||||
|
||||
type Props = {
|
||||
changeset: Changeset,
|
||||
@@ -13,6 +14,10 @@ class ChangesetDetails extends React.Component<Props> {
|
||||
render() {
|
||||
const { changeset, t } = this.props;
|
||||
return (
|
||||
<div>
|
||||
<figure className="media-left">
|
||||
<ChangesetAvatar changeset={changeset} />
|
||||
</figure>
|
||||
<table className="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
@@ -41,6 +46,7 @@ class ChangesetDetails extends React.Component<Props> {
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ import { getFailure } from "../../modules/failure";
|
||||
import { combineReducers } from "redux";
|
||||
import type { Action, PagedCollection } from "@scm-manager/ui-types";
|
||||
import * as types from "../../modules/types";
|
||||
import { CREATE_USER_RESET } from "../../users/modules/users";
|
||||
|
||||
export const FETCH_CHANGESETS = "scm/repos/FETCH_CHANGESETS";
|
||||
export const FETCH_CHANGESETS_PENDING = `${FETCH_CHANGESETS}_${PENDING_SUFFIX}`;
|
||||
|
||||
Reference in New Issue
Block a user