Fix error on mindmap publish & details

This commit is contained in:
Paulo Gustavo Veiga
2020-11-22 12:53:35 -08:00
parent 64411c6232
commit 3a006f1fbc
5 changed files with 15 additions and 3 deletions

View File

@@ -160,6 +160,12 @@ public class Mindmap {
return isPublic;
}
//@Todo: This is a hack to overcome some problem with JS EL. For some reason, ${mindmap.public} fails as not supported.
// More research is needed...
public boolean isAccessible() {
return isPublic();
}
public void setPublic(boolean isPublic) {
this.isPublic = isPublic;
}