Skip to content

Commit 610f915

Browse files
committed
fix: Fix compactId in _computeReferenceType()
1 parent a109fd4 commit 610f915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AmfHelperMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ export const AmfHelperMixin = (base) => class extends base {
11231123
}
11241124
// In compact model some IDs are presented in long version (in source maps for examples)
11251125
// This must test for this case as well.
1126-
const compactId = selected.replace('amf://id#', '');
1126+
const compactId = selected.replace('amf://id', '');
11271127
let result = declare.find((item) => {
11281128
if (Array.isArray(item)) {
11291129
/* eslint-disable-next-line no-param-reassign */

0 commit comments

Comments
 (0)