mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 05:25:44 +01:00
add download view
This commit is contained in:
@@ -68,7 +68,7 @@ class Content extends React.Component<Props, State> {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { file } = this.props;
|
||||
const { file, revision } = this.props;
|
||||
const contentType = this.state.contentType;
|
||||
const error = this.state.error;
|
||||
const hasError = this.state.hasError;
|
||||
@@ -87,7 +87,7 @@ class Content extends React.Component<Props, State> {
|
||||
return <SourcecodeViewer />;
|
||||
}
|
||||
|
||||
return <DownloadViewer file={file}/>;
|
||||
return <DownloadViewer file={file} revision={revision}/>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user