1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

'History Setting' dialog: bugfix

This commit is contained in:
llj
2021-10-09 16:08:05 +08:00
parent ed60f5e05a
commit 9f5e3de408

View File

@@ -87,10 +87,12 @@ class LibHistorySetting extends React.Component {
if (type === 'allHistory') {
this.setState({
keepDays: -1,
disabled: true
});
} else if (type === 'noHistory') {
this.setState({
keepDays: 0,
disabled: true
});
} else {
this.setState({