Skip to content

Commit 6c41126

Browse files
committed
[子チケット作成時に親チケットの情報を利用] 子チケットの作成が許可されていない場合にエラーとならないように修正
1 parent e5e2e74 commit 6c41126

File tree

1 file changed

+4
-1
lines changed
  • examples/0023.when_create_child_use_parent_infomation

1 file changed

+4
-1
lines changed

Diff for: examples/0023.when_create_child_use_parent_infomation/example.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ $(function() {
4040
'issue_fixed_version_id'
4141
];
4242

43-
const addLink = $('#issue_tree a[href*="/issues/new"]')[0];
43+
const addLink = $('#issue_tree a[href*="/issues/new"]')[0];
44+
if (!addLink) {
45+
return;
46+
}
4447

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

0 commit comments

Comments
 (0)