mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
keep entered revision in source browser
This commit is contained in:
@@ -37,7 +37,7 @@ class Sources extends React.Component<Props> {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { sources, path, baseUrl, loading, error } = this.props;
|
||||
const { sources, revision, path, baseUrl, loading, error } = this.props;
|
||||
|
||||
if (error) {
|
||||
return <ErrorNotification error={error} />;
|
||||
@@ -47,7 +47,14 @@ class Sources extends React.Component<Props> {
|
||||
return <Loading />;
|
||||
}
|
||||
|
||||
return <FileTree tree={sources} path={path} baseUrl={baseUrl} />;
|
||||
return (
|
||||
<FileTree
|
||||
tree={sources}
|
||||
revision={revision}
|
||||
path={path}
|
||||
baseUrl={baseUrl}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user