Merge pull request #127 from guastallaigor/change-to-disable-click-clear-history
Clear history is now disabled when there aren't any histories
This commit is contained in:
commit
55816acc99
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