From daa54f6866bf60c0335307f31deb6f4f27d33500 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 16 May 2025 16:12:05 +0530 Subject: [PATCH] feat: disable unused options --- .../widgets/WootWriter/ReplyBottomPanel.vue | 85 ++++++++++--------- .../widgets/conversation/ReplyBox.vue | 3 + 2 files changed, 48 insertions(+), 40 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue b/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue index ad9661ea7..8617e66b5 100644 --- a/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue +++ b/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue @@ -118,14 +118,11 @@ export default { type: String, default: '', }, - allowSignature: { - type: Boolean, - default: false, - }, - allowEmoji: { - type: Boolean, - default: false, - }, + allowSignature: { type: Boolean, default: false }, + allowEmoji: { type: Boolean, default: false }, + allowAiAssist: { type: Boolean, default: false }, + allowVideoCall: { type: Boolean, default: false }, + allowAudioRecorder: { type: Boolean, default: false }, }, emits: [ 'replaceText', @@ -233,7 +230,7 @@ export default { } }, showMessageSignatureButton() { - return !this.isOnPrivateNote && this.allowSignature; + return !this.isOnPrivateNote; }, sendWithSignature() { // channelType is sourced from inboxMixin @@ -304,36 +301,40 @@ export default { sm /> + - - -