mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
js: Standardize indentation of switch/case statements.
This gets my current draft eslint indentation configuration passing cleaning on static/js.
This commit is contained in:
@@ -137,9 +137,12 @@ exports.restore_draft = function (draft_id) {
|
||||
|
||||
if (draft.type === "stream") {
|
||||
if (draft.stream !== "") {
|
||||
narrow.activate([{operator: "stream", operand: draft.stream},
|
||||
{operator: "topic", operand: draft.subject}],
|
||||
{trigger: "restore draft"});
|
||||
narrow.activate(
|
||||
[
|
||||
{operator: "stream", operand: draft.stream},
|
||||
{operator: "topic", operand: draft.subject},
|
||||
],
|
||||
{trigger: "restore draft"});
|
||||
}
|
||||
} else {
|
||||
if (draft.private_message_recipient !== "") {
|
||||
|
||||
Reference in New Issue
Block a user