diff --git a/src/components/bblock/JsonSchemaViewer.vue b/src/components/bblock/JsonSchemaViewer.vue index 9af8c90..7d2b20f 100644 --- a/src/components/bblock/JsonSchemaViewer.vue +++ b/src/components/bblock/JsonSchemaViewer.vue @@ -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;