Add missing properly on embedd view

main
Paulo Gustavo Veiga 2023-12-13 12:21:14 -08:00
parent 712fbaa3a7
commit e98d6ca2a9
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ public class MvcMindmapController {
final MindMapBean mindmap = findMindmapBean(id);
final ModelAndView view = new ModelAndView("mindmapViewonly", "mindmap", mindmap);
view.addObject("zoom", zoom == null ? 1 : zoom);
view.addObject("properties", "{}");
final Locale locale = LocaleContextHolder.getLocale();
view.addObject("locale", locale.toString().toLowerCase());
return view;