Versioned Storages - checkout revision: fix
@@ -119,6 +119,8 @@ class VSVersions extends React.Component {
this.setState({
versions: []
}, () => {
+ const {repository} = this.props;
+ if (repository) {
this.appendPage(0)
.then(() => {
const {
@@ -133,6 +135,7 @@ class VSVersions extends React.Component {
onChange && onChange(versions[0].commit);
}
});
+ }
});
};
