fix(extensions): keep settings-only installs canonical (#5094)
This commit is contained in:
1 parent
46d91a7c61
commit
aef8e524fd
4 files changed
+77
-3
No files matched your search
+4
-1
@@ -857,7 +857,10 @@ def _gallery_installed_runtime_manifest(
|
||||
for key in ("name", "enabled", "scripts", "stylesheets", "sidecar", "permissions", "settings_schema"):
|
||||
if key in manifest:
|
||||
top_entry[key] = manifest[key]
|
||||
if any(key in top_entry for key in ("scripts", "stylesheets", "sidecar")):
|
||||
if any(
|
||||
key in top_entry
|
||||
for key in ("scripts", "stylesheets", "sidecar", "permissions", "settings_schema")
|
||||
):
|
||||
entries.append(_copy_manifest_entry_with_asset_base(top_entry, asset_base))
|
||||
for _source, _index, entry in _manifest_extension_entries(manifest):
|
||||
copied = _copy_manifest_entry_with_asset_base(entry, asset_base)
|
||||
|
||||
Reference in new issue
Block a user