Fix error with all local extensions showing as orphan
Also correct wording in install-file help text.
This commit is contained in:
@@ -650,7 +650,7 @@ def cli_extension_args_install_file(subparsers: "argparse._SubParsersAction[argp
|
||||
"install-file",
|
||||
help="Install package from file.",
|
||||
description=(
|
||||
"Install a package file into a local repository."
|
||||
"Install a package file into a user repository."
|
||||
),
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
)
|
||||
|
||||
@@ -798,7 +798,7 @@ def extensions_panel_draw_impl(
|
||||
del props
|
||||
else:
|
||||
# Right space for alignment with the button.
|
||||
if item_remote is None:
|
||||
if has_remote and (item_remote is None):
|
||||
# There is a local item with no remote
|
||||
row_right.label(text="Orphan")
|
||||
row_right.label(text="", icon='ORPHAN_DATA')
|
||||
|
||||
Reference in New Issue
Block a user