Fix rendering path for value set references for kindling

This commit is contained in:
Grahame Grieve 2024-09-17 14:11:13 +08:00
parent 9dae4118ae
commit 0d8c5942e7
1 changed files with 2 additions and 2 deletions

View File

@ -750,9 +750,9 @@ public class ValueSetRenderer extends TerminologyRenderer {
if (cs == null) { if (cs == null) {
return "?cs-n?"; return "?cs-n?";
} }
String ref = (String) cs.getUserData("filename"); String ref = cs.getWebPath();
if (ref == null) { if (ref == null) {
ref = (String) cs.getWebPath(); ref = cs.getUserString("filename");
} }
return ref == null ? null : ref.replace("\\", "/"); return ref == null ? null : ref.replace("\\", "/");
} }