File tree Expand file tree Collapse file tree
gearbox/internal/framework/templates/layouts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ func getPath(paths []string) string {
2727// Returns true if there are no servers configured (initial setup state)
2828func shouldHideSidebar (ctx context .Context , currentPath string ) bool {
2929 // Check if gear status is in context - if not, we're in initial setup
30- _ , hasPluginStatus := auth.GetGearStatusFromContext (ctx)
31- _ , hasPluginOrder := auth.GetGearOrderFromContext (ctx)
30+ _ , hasGearStatus := auth.GetGearStatusFromContext (ctx)
31+ _ , hasGearOrder := auth.GetGearOrderFromContext (ctx)
3232
3333 // If neither gear status nor order is set, we're in initial setup (no servers)
3434 // Hide the sidebar to provide a cleaner first-time experience
35- return !hasPluginStatus && !hasPluginOrder
35+ return !hasGearStatus && !hasGearOrder
3636}
3737
3838templ Base (title string , user *models.User , currentPath ...string ) {
You can’t perform that action at this time.
0 commit comments