fix bug in bundle rendering
This commit is contained in:
parent
bdf783e9e0
commit
2d8ac6f377
|
@ -401,9 +401,11 @@ public class BundleRenderer extends ResourceRenderer {
|
|||
|
||||
public boolean canRender(Bundle b) {
|
||||
for (BundleEntryComponent be : b.getEntry()) {
|
||||
ResourceRenderer rr = RendererFactory.factory(be.getResource(), context);
|
||||
if (!rr.canRender(be.getResource())) {
|
||||
return false;
|
||||
if (be.hasResource()) {
|
||||
ResourceRenderer rr = RendererFactory.factory(be.getResource(), context);
|
||||
if (!rr.canRender(be.getResource())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue