Skip to content

Commit 4487a78

Browse files
committed
fix: ensure to expose client assets
1 parent ddf794e commit 4487a78

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
"extra": {
3636
"branch-alias": {
3737
"dev-main": "2.x-dev"
38-
}
38+
},
39+
"expose": [
40+
"client"
41+
]
3942
},
4043
"replace": {
4144
"silverstripe/forum": "self.version"

src/PageTypes/Forum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function getCMSFields()
233233

234234
$categories = ForumCategory::get()->map();
235235

236-
$fields->addFieldsToTab(
236+
$fields->addFieldToTab(
237237
"Root.Main",
238238
DropdownField::create('CategoryID', _t('Forum.FORUMCATEGORY', 'Forum Category'), $categories),
239239
'Content'

0 commit comments

Comments
 (0)