Skip to content

Commit

Permalink
minor fix for grew history
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Nov 7, 2024
1 parent 82bdb4d commit 731c47e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/grewSearch/GrewHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ export default defineComponent({
formatDate(timestamp: number) {
return new Date(timestamp).toLocaleString('en-GB', { hour12: false });
},
closeDial() {
this.$emit('closed');
},
updateHistoryFavorites(historyRecord: grewHistoryRecord_t) {
this.updateHistory(historyRecord.uuid, { favorite: historyRecord.favorite });
},
Expand All @@ -153,6 +150,10 @@ export default defineComponent({
},
copyRequest(record: grewHistoryRecord_t) {
this.$emit('copied-request', record);
this.closeDial();
},
closeDial() {
this.$emit('closed');
},
triggerConfirm(method: CallableFunction) {
this.confirmDelete = true;
Expand Down

0 comments on commit 731c47e

Please sign in to comment.