mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-20 02:51:36 +01:00
Prevent binding extensions for repo overview top, which could be already disabled via the local storage and therefore send errors during the hook execution.
This commit is contained in:
2
gradle/changelog/repo_top_extensions.yaml
Normal file
2
gradle/changelog/repo_top_extensions.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: fixed
|
||||
description: Do not mount extensions which are already disabled via configuration
|
||||
@@ -242,15 +242,21 @@ const Overview: FC = () => {
|
||||
<div className="column is-clipped">
|
||||
<KeyboardIterator>
|
||||
<KeyboardSubIterator>
|
||||
<ExtensionPoint<extensionPoints.RepositoryOverviewTop>
|
||||
name="repository.overview.top"
|
||||
renderAll={true}
|
||||
props={{
|
||||
page,
|
||||
search,
|
||||
namespace,
|
||||
}}
|
||||
/>
|
||||
{binder.hasExtension<extensionPoints.RepositoryOverviewTop>("repository.overview.top", {
|
||||
page,
|
||||
search,
|
||||
namespace,
|
||||
}) ? (
|
||||
<ExtensionPoint<extensionPoints.RepositoryOverviewTop>
|
||||
name="repository.overview.top"
|
||||
renderAll={true}
|
||||
props={{
|
||||
page,
|
||||
search,
|
||||
namespace,
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
</KeyboardSubIterator>
|
||||
<Repositories
|
||||
namespaces={namespaces}
|
||||
|
||||
Reference in New Issue
Block a user