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:
@@ -126,6 +126,7 @@
|
||||
updateOnLocalStorage('history', this.history);
|
||||
},
|
||||
enableHistoryClearing() {
|
||||
if (!this.history || !this.history.length) return;
|
||||
this.isClearingHistory = true;
|
||||
},
|
||||
disableHistoryClearing() {
|
||||
|
||||
Reference in New Issue
Block a user