aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/src/components/SetStatusModal.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status/src/components/SetStatusModal.vue')
-rw-r--r--apps/user_status/src/components/SetStatusModal.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_status/src/components/SetStatusModal.vue b/apps/user_status/src/components/SetStatusModal.vue
index 50fa79b4cc5..db56ea282bc 100644
--- a/apps/user_status/src/components/SetStatusModal.vue
+++ b/apps/user_status/src/components/SetStatusModal.vue
@@ -101,6 +101,7 @@ export default {
clearAt: null,
icon: null,
message: '',
+ messageId: '',
isSavingStatus: false,
statuses: getAllStatusOptions(),
}
@@ -191,7 +192,7 @@ export default {
try {
this.isSavingStatus = true
- if (this.messageId !== null) {
+ if (this.messageId !== undefined && this.messageId !== null) {
await this.$store.dispatch('setPredefinedMessage', {
messageId: this.messageId,
clearAt: this.clearAt,