In my shiny server function I have a variable that is set either TRUE or FALSE. I would like to use this variable to set the dashboardHeader parameter disable to TRUE or FALSE. However, I have noticed that in order to preserve the dahsboardPage layout I need to generate this in the UI.
My question is whether anybody knows about a hack to set the variable disable in Shiny's dashboardSidebar and dashboardHeader function based on a server-side variable?