Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dacoaster committed Aug 16, 2023
1 parent a894308 commit cf71583
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/components/jira/JiraAddIssue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
30 changes: 25 additions & 5 deletions src/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
],
},
{
Expand Down

0 comments on commit cf71583

Please sign in to comment.