mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +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:
|
upgrade_text_for_wide_organization_logo:
|
||||||
page_params.upgrade_text_for_wide_organization_logo,
|
page_params.upgrade_text_for_wide_organization_logo,
|
||||||
is_stream_edit: true,
|
is_stream_edit: true,
|
||||||
|
max_stream_description_length: page_params.max_stream_description_length,
|
||||||
};
|
};
|
||||||
const change_privacy_modal = render_stream_types(template_data);
|
const change_privacy_modal = render_stream_types(template_data);
|
||||||
|
|
||||||
|
|||||||
@@ -8,5 +8,5 @@
|
|||||||
<label for="change_stream_description">
|
<label for="change_stream_description">
|
||||||
{{t 'Description' }}
|
{{t 'Description' }}
|
||||||
</label>
|
</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>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user