From 9f5e3de408e8db92be6745a8b8b04c08c6db2982 Mon Sep 17 00:00:00 2001 From: llj Date: Sat, 9 Oct 2021 16:08:05 +0800 Subject: [PATCH] 'History Setting' dialog: bugfix --- frontend/src/components/dialog/lib-history-setting-dialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/dialog/lib-history-setting-dialog.js b/frontend/src/components/dialog/lib-history-setting-dialog.js index 4f4223051d..31c749f3ee 100644 --- a/frontend/src/components/dialog/lib-history-setting-dialog.js +++ b/frontend/src/components/dialog/lib-history-setting-dialog.js @@ -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({