diff --git a/assets/vue/views/message/MessageList.vue b/assets/vue/views/message/MessageList.vue index 6cb4cd407c8..661eb1cd763 100644 --- a/assets/vue/views/message/MessageList.vue +++ b/assets/vue/views/message/MessageList.vue @@ -109,6 +109,11 @@ type="primary" is-submit /> + @@ -501,4 +506,16 @@ function onSearch() { loadMessages() } + +function onResetSearch() { + searchText.value = "" + + fetchPayload = { + "order[sendDate]": "desc", + itemsPerPage: initialRowsPerPage, + page: 1, + } + + loadMessages() +}