Skip to content

Commit

Permalink
[子チケット作成時に親チケットの情報を利用] 子チケットの作成が許可されていない場合にエラーとならないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
onozaty committed Mar 21, 2024
1 parent e5e2e74 commit 6c41126
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ $(function() {
'issue_fixed_version_id'
];

const addLink = $('#issue_tree a[href*="/issues/new"]')[0];
const addLink = $('#issue_tree a[href*="/issues/new"]')[0];
if (!addLink) {
return;
}

for (let i = 0; i < useFieldIds.length; i++) {
const field = $('#' + useFieldIds[i]);
Expand Down

0 comments on commit 6c41126

Please sign in to comment.