hello,
in angular version i want to keep the toolbar set to reports by default (right now i go to builder and set it from there each time) and only want to show it in dashboard and selected pages, but its showing in all of my pages.
can you help me here? which service have the settings for toolbar and other similar common components the docs are not clear on this.
thanks
I apologize for the delay in my response. To preset and hide the toolbar in the Angular theme, you can follow these steps:
In your routing file, typically located at /angular/demo1/src/app/pages/routing.ts, you can configure the layout to load for specific pages. For example:
{
path: "dashboard",
loadChildren: () => import("./dashboard/dashboard.module").then(m => m.DashboardModule),
data: { layout: "dark-sidebar" }, // Set the layout for the dashboard page
},
app: {
toolbar: {
display: false, // Set to false to hide the toolbar
},
},