diff --git a/packages/rocketchat-ui/client/views/app/popover.js b/packages/rocketchat-ui/client/views/app/popover.js index 85180094ca71..48faa6c80236 100644 --- a/packages/rocketchat-ui/client/views/app/popover.js +++ b/packages/rocketchat-ui/client/views/app/popover.js @@ -181,7 +181,7 @@ Template.popover.events({ swal({ title: t('Are_you_sure'), - text: t(warnText, name), + text: warnText ? t(warnText, name) : '', type: 'warning', showCancelButton: true, confirmButtonColor: '#DD6B55',