xo: Fix object-shorthand.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-03-08 18:10:03 -08:00
parent 5623ab3866
commit fba8aa0ab0
5 changed files with 25 additions and 25 deletions

View File

@@ -601,12 +601,12 @@ export class ServerManagerView {
await this.openFunctionalTab({
name: "About",
materialIcon: "sentiment_very_satisfied",
makeView: () => {
makeView() {
aboutView = new AboutView();
aboutView.$view.classList.add("functional-view");
return aboutView.$view;
},
destroyView: () => {
destroyView() {
aboutView.destroy();
},
});
@@ -798,7 +798,7 @@ export class ServerManagerView {
const template = [
{
label: "Disconnect organization",
click: async () => {
async click() {
const {response} = await dialog.showMessageBox({
type: "warning",
buttons: ["YES", "NO"],
@@ -830,7 +830,7 @@ export class ServerManagerView {
},
{
label: "Copy Zulip URL",
click: () => {
click() {
clipboard.writeText(DomainUtil.getDomain(index).url);
},
},