We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e2e7d3 commit c819466Copy full SHA for c819466
1 file changed
app/routes/index.js
@@ -205,7 +205,7 @@ export default class IndexRoute extends Route {
205
});
206
207
// Add N3 rules.
208
- rules.forEach((match) => {
+ rules?.forEach((match) => {
209
text += match;
210
211
@@ -220,7 +220,7 @@ export default class IndexRoute extends Route {
220
}
221
222
async fillInFormWithSubmitEventPolicy(matches) {
223
- for (const rule of matches.rules) {
+ for (const rule of matches?.rules || []) {
224
const options = { blogic: false, outputType: 'string' };
225
const query = `${
226
matches.prefixes ? matches.prefixes.join('\n') : ''
0 commit comments