mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
js: Use ES6 object literal shorthand syntax.
Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -13,7 +13,7 @@ exports.initialize = function () {
|
||||
{label: i18n.t("Settings"), key: "settings"},
|
||||
{label: i18n.t("Organization"), key: "organization"},
|
||||
],
|
||||
callback: function (name, key) {
|
||||
callback(name, key) {
|
||||
if (key === "organization") {
|
||||
settings_panel_menu.show_org_settings();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user