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,6 +105,7 @@ class App.ControllerGenericIndex extends App.Controller
@title @pageData.title, true @title @pageData.title, true
# set nav bar # set nav bar
if @pageData.navupdate
@navupdate @pageData.navupdate @navupdate @pageData.navupdate
# bind render after a change is done # bind render after a change is done