mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
eslint: Enable no-extra-parens rule.
Following sub-configuration is disabled:
"nestedBinaryExpressions": false,
This commit is contained in:
@@ -222,7 +222,7 @@ exports.setup_page = function (callback) {
|
||||
// In case there is no stream for the draft, we need a
|
||||
// single space char for proper rendering of the stream label
|
||||
var space_string = new Handlebars.SafeString(" ");
|
||||
var stream = (draft.stream.length > 0 ? draft.stream : space_string);
|
||||
var stream = draft.stream.length > 0 ? draft.stream : space_string;
|
||||
var draft_topic = draft.subject.length === 0 ?
|
||||
compose.empty_topic_placeholder() : draft.subject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user