Skip to content

Commit

Permalink
Adapt warning-text for leaving a room. Fixes mrsimpson#92
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimpson committed Oct 23, 2017
1 parent fa20b86 commit b2b09a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b2b09a3

Please sign in to comment.