stream_create: Fix “susbscribing” typo.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-11-14 15:02:36 -08:00 committed by Anders Kaseorg
parent 8ab47bbcc4
commit c7fefab05d
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class StreamSubscriptionError {
$("#stream_subscription_error").show(); $("#stream_subscription_error").show();
} }
cant_create_stream_without_susbscribing() { cant_create_stream_without_subscribing() {
$("#stream_subscription_error").text( $("#stream_subscription_error").text(
$t({ $t({
defaultMessage: defaultMessage:
@ -359,7 +359,7 @@ export function set_up_handlers() {
return; return;
} }
if (!principals.includes(people.my_current_user_id()) && !page_params.is_admin) { if (!principals.includes(people.my_current_user_id()) && !page_params.is_admin) {
stream_subscription_error.cant_create_stream_without_susbscribing(); stream_subscription_error.cant_create_stream_without_subscribing();
return; return;
} }