mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
correct input usage
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
// @flow
|
// @flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { translate } from "react-i18next";
|
import { translate } from "react-i18next";
|
||||||
import { apiClient } from "../../../../../scm-ui-components/packages/ui-components/src/index";
|
import { apiClient } from "@scm-manager/ui-components";
|
||||||
import { getSources } from "../modules/sources";
|
import { getSources } from "../modules/sources";
|
||||||
import type {
|
import type {
|
||||||
Repository,
|
Repository,
|
||||||
File
|
File
|
||||||
} from "../../../../../scm-ui-components/packages/ui-types/src/index";
|
} from "@scm-manager/ui-types";
|
||||||
import {
|
import {
|
||||||
ErrorNotification,
|
ErrorNotification,
|
||||||
Loading
|
Loading
|
||||||
} from "../../../../../scm-ui-components/packages/ui-components/src/index";
|
} from "@scm-manager/ui-components";
|
||||||
import { connect } from "react-redux";
|
import { connect } from "react-redux";
|
||||||
import ImageViewer from "../components/content/ImageViewer";
|
import ImageViewer from "../components/content/ImageViewer";
|
||||||
import SourcecodeViewer from "../components/content/SourcecodeViewer";
|
import SourcecodeViewer from "../components/content/SourcecodeViewer";
|
||||||
@@ -87,7 +87,7 @@ class Content extends React.Component<Props, State> {
|
|||||||
return <SourcecodeViewer />;
|
return <SourcecodeViewer />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <DownloadViewer />;
|
return <DownloadViewer file={file}/>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user