1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-07-09 01:05:34 +02:00

Feature: Message tags and auto-tagging

See #17
This commit is contained in:
Ralph Slooten
2022-11-13 16:45:54 +13:00
parent 57cfb2611c
commit 6bc02fd4d4
22 changed files with 579 additions and 107 deletions

View File

@ -1,5 +1,6 @@
import axios from 'axios';
import { Modal } from 'bootstrap';
import moment from 'moment';
// FakeModal is used to return a fake Bootstrap modal
@ -26,6 +27,10 @@ const commonMixins = {
return new Intl.NumberFormat().format(nr);
},
messageDate: function (d) {
return moment(d).format('ddd, D MMM YYYY, h:mm a');
},
// Ajax error message
handleError: function (error) {
// handle error