📦 Added toast, Material Icon font

This commit is contained in:
Liyas Thomas
2019-09-25 14:44:44 +05:30
parent 393a02f98b
commit e4381c974f
9 changed files with 64 additions and 12 deletions

View File

@@ -121,6 +121,11 @@
this.filterText = '';
this.disableHistoryClearing();
updateOnLocalStorage('history', this.history);
this.$toast.error('History Deleted', {
icon: 'delete',
position: 'bottom-center',
duration: 1000,
});
},
useHistory(entry) {
this.$emit('useHistory', entry);
@@ -137,6 +142,11 @@
this.filterText = '';
}
updateOnLocalStorage('history', this.history);
this.$toast.error('Deleted', {
icon: 'delete',
position: 'bottom-center',
duration: 1000,
});
},
addEntry(entry) {
this.history.push(entry);