Clear history is now disabled when there aren't any histories
This commit is contained in:
parent
4d4a55cd3a
commit
8226d0a1ae
1 changed files with 1 additions and 0 deletions
|
|
@ -126,6 +126,7 @@
|
|||
updateOnLocalStorage('history', this.history);
|
||||
},
|
||||
enableHistoryClearing() {
|
||||
if (!this.history || !this.history.length) return;
|
||||
this.isClearingHistory = true;
|
||||
},
|
||||
disableHistoryClearing() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue