mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
stream-edit: Avoid hardcoding maxlength for stream description.
This commit is contained in:
@@ -498,6 +498,7 @@ export function initialize() {
|
||||
upgrade_text_for_wide_organization_logo:
|
||||
page_params.upgrade_text_for_wide_organization_logo,
|
||||
is_stream_edit: true,
|
||||
max_stream_description_length: page_params.max_stream_description_length,
|
||||
};
|
||||
const change_privacy_modal = render_stream_types(template_data);
|
||||
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
<label for="change_stream_description">
|
||||
{{t 'Description' }}
|
||||
</label>
|
||||
<textarea id="change_stream_description" maxlength="1000">{{ stream_description }}</textarea>
|
||||
<textarea id="change_stream_description" maxlength="{{ max_stream_description_length }}">{{ stream_description }}</textarea>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user