diff --git a/src/components/jira/JiraAddIssue.vue b/src/components/jira/JiraAddIssue.vue index 6b8741e3..dce4f68e 100644 --- a/src/components/jira/JiraAddIssue.vue +++ b/src/components/jira/JiraAddIssue.vue @@ -501,11 +501,11 @@ export default { (["number", "string"].includes(thisField[0]?.schema?.type) || (thisField[0]?.schema?.type === "array" && thisField[0]?.schema?.items === "json")) - // This second set of parameters are to filter JIRA fields - // like "Sprints" which need the data pulled from the api. - // I have removed Sprints from incoming fields though, so - // this may not be necessary. But it may prevent issues - // with similar fields in the future. + // This second set of parameters are to filter JIRA fields + // like "Sprints" which need the data pulled from the api. + // I have removed Sprints from incoming fields though, so + // this may not be necessary. But it may prevent issues + // with similar fields in the future. ) { // Remove unrequired simple fields that haven't changed. this.$delete(this.newIssue.fields, key); diff --git a/src/menu.js b/src/menu.js index 920259ef..d1515bd9 100644 --- a/src/menu.js +++ b/src/menu.js @@ -74,13 +74,33 @@ const createMenu = (win) => { { label: i18n.t("menu.edit"), submenu: [ - { label: i18n.t("menu.undo"), accelerator: "CmdOrCtrl+Z", role: "undo" }, - { label: i18n.t("menu.redo"), accelerator: "CmdOrCtrl+Y", role: "redo" }, + { + label: i18n.t("menu.undo"), + accelerator: "CmdOrCtrl+Z", + role: "undo", + }, + { + label: i18n.t("menu.redo"), + accelerator: "CmdOrCtrl+Y", + role: "redo", + }, { type: "separator" }, { label: i18n.t("menu.cut"), accelerator: "CmdOrCtrl+X", role: "cut" }, - { label: i18n.t("menu.copy"), accelerator: "CmdOrCtrl+C", role: "copy" }, - { label: i18n.t("menu.paste"), accelerator: "CmdOrCtrl+V", role: "paste" }, - { label: i18n.t("menu.select_all"), accelerator: "CmdOrCtrl+A", role: "selectAll" }, + { + label: i18n.t("menu.copy"), + accelerator: "CmdOrCtrl+C", + role: "copy", + }, + { + label: i18n.t("menu.paste"), + accelerator: "CmdOrCtrl+V", + role: "paste", + }, + { + label: i18n.t("menu.select_all"), + accelerator: "CmdOrCtrl+A", + role: "selectAll", + }, ], }, {