Skip to content

Commit

Permalink
Detect bblock schemas with URI fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Nov 19, 2024
1 parent 51ef1d6 commit 3ecc104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/bblock/JsonSchemaViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default {
bblock = bblocks[bblockId];
href = bblock?.schema?.['application/yaml'];
} else if (href) {
bblock = await bblockService.findResource(href);
bblock = await bblockService.findResource(href.replace(/#.*$/, ''));
if (!bblock) {
window.open(href);
return;
Expand Down

0 comments on commit 3ecc104

Please sign in to comment.