mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
create stream: Fix widget for changing privacy doesn't render initially.
When admin user create new private stream, widget for changing privacy of stream doesn't render. Because we render subscription-settings template partially on subscription-add event, so this case wasn't handled. Fixes #9469
This commit is contained in:
committed by
Tim Abbott
parent
562f5387e3
commit
3422766c25
@@ -37,9 +37,7 @@
|
||||
<div class="subscription-type-text">
|
||||
{{partial "subscription_type"}}
|
||||
</div>
|
||||
{{#if can_change_stream_permissions}}
|
||||
<a class="change-stream-privacy">[{{t "Change" }}]</a>
|
||||
{{/if}}
|
||||
<a class="change-stream-privacy" {{#unless can_change_stream_permissions}}style="display: none;"{{/unless}}>[{{t "Change" }}]</a>
|
||||
</div>
|
||||
<div class="regular_subscription_settings collapse {{#subscribed}}in{{/subscribed}}">
|
||||
<div class="subscription-config">
|
||||
|
||||
Reference in New Issue
Block a user