@@ -469,7 +469,7 @@ def get_conn_label(config: Any, connected: bool = False) -> str:
469469 selected_prefix = "[bright_cyan][x][/] " if config .name in selected else ""
470470 if connected :
471471 primary = getattr (getattr (host , "current_theme" , None ), "primary" , "#7E9CD8" )
472- name = f"{ selected_prefix } [{ primary } ]{ source_emoji } { escaped_name } [/]"
472+ name = f"{ selected_prefix } [{ primary } ]* { source_emoji } { escaped_name } [/]"
473473 else :
474474 name = f"{ selected_prefix } { source_emoji } { escaped_name } "
475475 return f"{ name } [{ db_type_label } ] ({ display_info } )"
@@ -498,8 +498,7 @@ def get_conn_label(config: Any, connected: bool = False) -> str:
498498 add_database_object_nodes (host , active_node , specific_db )
499499 active_node .expand ()
500500 else :
501- primary = getattr (getattr (host , "current_theme" , None ), "primary" , "#7E9CD8" )
502- dbs_node = active_node .add (f"[{ primary } ]📁 Databases[/]" )
501+ dbs_node = active_node .add ("Databases" )
503502 dbs_node .data = FolderNode (folder_type = "databases" )
504503 dbs_node .allow_expand = True
505504 active_node .expand ()
@@ -523,12 +522,11 @@ def add_database_object_nodes(host: TreeMixinHost, parent_node: Any, database: s
523522
524523 caps = host .current_provider .capabilities
525524 node_provider = host .current_provider .explorer_nodes
526- primary = getattr (getattr (host , "current_theme" , None ), "primary" , "#7E9CD8" )
527525
528526 for folder in node_provider .get_root_folders (caps ):
529527 if folder .requires (caps ):
530- folder_node = parent_node .add (f"[ { primary } ]📁 { folder .label } [/]" )
528+ folder_node = parent_node .add (folder .label )
531529 folder_node .data = FolderNode (folder_type = folder .kind , database = database )
532530 folder_node .allow_expand = True
533531 else :
534- parent_node .add_leaf (f"[dim]📁 { folder .label } (Not available)[/]" )
532+ parent_node .add_leaf (f"[dim]{ folder .label } (Not available)[/]" )
0 commit comments