Skip to content

Commit e15d3da

Browse files
author
Rick Butterfield
committed
Add condition for sectionView
1 parent 9cd0a46 commit e15d3da

11 files changed

+68
-56
lines changed

src/Umbraco.Community.Sustainability/assets/src/section/manifests.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ const sectionView: ManifestSectionView = {
2626
label: 'Sustainability',
2727
icon: 'icon-eco',
2828
pathname: 'view'
29-
}
29+
},
30+
conditions: [
31+
{
32+
alias: "Umb.Condition.SectionAlias",
33+
match: sectionAlias,
34+
},
35+
]
3036
}
3137

3238
const menu: ManifestMenu = {

src/Umbraco.Community.Sustainability/wwwroot/App_Plugins/Umbraco.Community.Sustainability.14/assets.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Umbraco.Community.Sustainability/wwwroot/App_Plugins/Umbraco.Community.Sustainability.14/index-Biwu_zyI.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 50 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Umbraco.Community.Sustainability/wwwroot/App_Plugins/Umbraco.Community.Sustainability.14/index-BxRhZE1m.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)