From c419df6b4240a152b32a54a8b46f6693087f26f9 Mon Sep 17 00:00:00 2001 From: cnouguier Date: Thu, 22 Aug 2024 09:47:06 +0200 Subject: [PATCH] wip: Provide a message activity #152 --- config/default.js | 3 ++- src/components/messages/MessagesActivity.vue | 1 - src/components/webpush/WebpushActivity.vue | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/default.js b/config/default.js index 1e94d26f..e4b4dadd 100644 --- a/config/default.js +++ b/config/default.js @@ -385,7 +385,8 @@ module.exports = { { component: 'messages/Composer', class: 'fit' } ], sizes: { xs: 100, sm: 600, md: 600, lg: 600, xl: 600 }, - visible: true + visible: true, + opener: false } }, messages: { diff --git a/src/components/messages/MessagesActivity.vue b/src/components/messages/MessagesActivity.vue index 19ec726b..7412adb2 100644 --- a/src/components/messages/MessagesActivity.vue +++ b/src/components/messages/MessagesActivity.vue @@ -15,7 +15,6 @@ import config from 'config' // Data const MessageKinds = config.messagesActivity.messages -console.log(MessageKinds) const schema = { timestampField: 'createdAt', authorField: 'author', diff --git a/src/components/webpush/WebpushActivity.vue b/src/components/webpush/WebpushActivity.vue index 8dde4a1d..9bdbb396 100644 --- a/src/components/webpush/WebpushActivity.vue +++ b/src/components/webpush/WebpushActivity.vue @@ -43,7 +43,6 @@ const schema = ref(baseSchema) // Functions async function sendNotification () { - console.log(values.value) api.getService('push').create({ notification: values.value, subscriptionService: `${config.apiPath}/users`,