mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
reformat components with prettier
This commit is contained in:
@@ -44,7 +44,7 @@ import GlobalConfig from "./GlobalConfig";
|
|||||||
import RepositoryRoles from "../roles/containers/RepositoryRoles";
|
import RepositoryRoles from "../roles/containers/RepositoryRoles";
|
||||||
import SingleRepositoryRole from "../roles/containers/SingleRepositoryRole";
|
import SingleRepositoryRole from "../roles/containers/SingleRepositoryRole";
|
||||||
import CreateRepositoryRole from "../roles/containers/CreateRepositoryRole";
|
import CreateRepositoryRole from "../roles/containers/CreateRepositoryRole";
|
||||||
import {StateMenuContextProvider} from "@scm-manager/ui-components/src/navigation/MenuContext";
|
import { StateMenuContextProvider } from "@scm-manager/ui-components/src/navigation/MenuContext";
|
||||||
|
|
||||||
type Props = RouteComponentProps &
|
type Props = RouteComponentProps &
|
||||||
WithTranslation & {
|
WithTranslation & {
|
||||||
|
|||||||
@@ -278,9 +278,7 @@ class PluginModal extends React.Component<Props, State> {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="media">
|
<div className="media">
|
||||||
<div className="media-content">
|
<div className="media-content">{this.createRestartSectionContent()}</div>
|
||||||
{this.createRestartSectionContent()}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{this.renderNotifications()}
|
{this.renderNotifications()}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ import { PendingPlugins } from "@scm-manager/ui-types";
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import PendingPluginsQueue from "./PendingPluginsQueue";
|
import PendingPluginsQueue from "./PendingPluginsQueue";
|
||||||
|
|
||||||
|
|
||||||
type ModalBodyProps = {
|
type ModalBodyProps = {
|
||||||
pendingPlugins: PendingPlugins;
|
pendingPlugins: PendingPlugins;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -54,7 +54,12 @@ type Props = WithTranslation & {
|
|||||||
// dispatch functions
|
// dispatch functions
|
||||||
fetchNamespaceStrategiesIfNeeded: () => void;
|
fetchNamespaceStrategiesIfNeeded: () => void;
|
||||||
fetchRepositoryTypesIfNeeded: () => void;
|
fetchRepositoryTypesIfNeeded: () => void;
|
||||||
createRepo: (link: string, repository: Repository, initRepository: boolean, callback: (repo: Repository) => void) => void;
|
createRepo: (
|
||||||
|
link: string,
|
||||||
|
repository: Repository,
|
||||||
|
initRepository: boolean,
|
||||||
|
callback: (repo: Repository) => void
|
||||||
|
) => void;
|
||||||
resetForm: () => void;
|
resetForm: () => void;
|
||||||
|
|
||||||
// context props
|
// context props
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ export default function reducer(
|
|||||||
pending: false
|
pending: false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} else if (action.itemId && (action.type === FETCH_UPDATES_SUCCESS)) {
|
} else if (action.itemId && action.type === FETCH_UPDATES_SUCCESS) {
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
[action.itemId + action.payload.hunk]: {
|
[action.itemId + action.payload.hunk]: {
|
||||||
|
|||||||
Reference in New Issue
Block a user