Skip to content

Commit 1564313

Browse files
Add 'ManifestWithDynamicConditions' to ManifestHeaderApp so Header Apps can be conditionally shown/loaded (#19124)
1 parent cd71e56 commit 1564313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/extension-registry/extensions/header-app.extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import type { ManifestElement } from '@umbraco-cms/backoffice/extension-api';
1+
import type { ManifestElement, ManifestWithDynamicConditions } from '@umbraco-cms/backoffice/extension-api';
22

33
/**
44
* Header apps are displayed in the top right corner of the backoffice
55
* The two provided header apps are the search and the user menu
66
*/
7-
export interface ManifestHeaderApp extends ManifestElement {
7+
export interface ManifestHeaderApp extends ManifestElement, ManifestWithDynamicConditions<UmbExtensionConditionConfig> {
88
type: 'headerApp';
99
//meta: MetaHeaderApp;
1010
}

0 commit comments

Comments
 (0)