stream_edit: Fix warning in confirm dialog modal from sub-unsub modal.

This commit is contained in:
Purushottam Tiwari 2022-09-18 12:18:25 +05:30 committed by Tim Abbott
parent 29589a69eb
commit 4db6c51fb1
1 changed files with 5 additions and 1 deletions

View File

@ -970,7 +970,11 @@ export function open_create_stream() {
} }
export function unsubscribe_from_private_stream(sub) { export function unsubscribe_from_private_stream(sub) {
const html_body = render_unsubscribe_private_stream_modal(); const html_body = render_unsubscribe_private_stream_modal({
message: $t({
defaultMessage: "Once you leave this stream, you will not be able to rejoin.",
}),
});
function unsubscribe_from_stream() { function unsubscribe_from_stream() {
let $stream_row; let $stream_row;