diff --git a/frontend/src/pages/user/messages/Home.vue b/frontend/src/pages/user/messages/Home.vue index 3854384..7aab83b 100644 --- a/frontend/src/pages/user/messages/Home.vue +++ b/frontend/src/pages/user/messages/Home.vue @@ -83,24 +83,10 @@ export default { components: { SvgIcon }, name: 'MessageHub', props: {}, - mounted() { - // this.fetchConversations() - }, - // watch: { - // conversations: { - // handler: function (val) { - // if (val && val.length > 0) { - // this.current_thread = val[0] - // this.clearUnreadMessageBy(val[0]) - // } - // }, - // deep: false - // } - // }, + mounted() {}, data() { return { userIdentityNote: this.mnx_getUserIdentity(), - // conversations: [], selConversation: null, messages: [], writtenMessage: null @@ -126,19 +112,6 @@ export default { } }, methods: { - // fetchConversations() { - // MessageHubApi.fetchConversations(new Date('01 Jan 1970 00:00:00 GMT').toISOString()) - // .then((response) => { - // const conversations = response.data.conversations || [] - // this.conversations = conversations - // if (conversations.length > 0) { - // this.selectConversation(conversations[0]) - // } - // }) - // .catch((error) => { - // this.mnx_backendErrorHandler(error) - // }) - // }, fetchMessageForConversation(conversation_id) { const jwt = userUtils.getJwtToken() MessageHubApi.fetchMessages( diff --git a/frontend/src/pages/user/requests/ProposalSubmitted.vue b/frontend/src/pages/user/requests/ProposalSubmitted.vue index 0d44eb3..46188b7 100644 --- a/frontend/src/pages/user/requests/ProposalSubmitted.vue +++ b/frontend/src/pages/user/requests/ProposalSubmitted.vue @@ -12,10 +12,6 @@