Skip to content

Commit

Permalink
fix: fix condition error issue for match notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 23, 2021
1 parent 98c046d commit 4fadec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quake_webapp/quake-render/src/markdown/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ function getPageLink() {
raw: match[0],
entry_type: match[1].trim(),
entry_id: match[2].trim(),
entry_heading: match[3].trim(),
entry_label: match[4].trim(),
entry_title: match[5].trim()
entry_heading: match[3]?.trim(),
entry_label: match[4]?.trim(),
entry_title: match[5]?.trim()
};
}
}
Expand Down

0 comments on commit 4fadec1

Please sign in to comment.