Just update nav if param is given.

This commit is contained in:
Martin Edenhofer 2016-04-01 00:21:57 +02:00
parent ec2d450ede
commit 2da5759c69

View file

@ -105,7 +105,8 @@ class App.ControllerGenericIndex extends App.Controller
@title @pageData.title, true
# set nav bar
@navupdate @pageData.navupdate
if @pageData.navupdate
@navupdate @pageData.navupdate
# bind render after a change is done
if !@disableRender