File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11import app from 'flarum/admin/app' ;
22
33app . initializers . add ( 'huoxin/auto-follow-discussion' , ( ) => {
4- app . extensionData . for ( 'huoxin-auto-follow-discussion' )
5- . registerSetting ( {
6- setting : 'huoxin-auto-follow-discussion.defaultFollowAfterCreate' ,
7- type : 'switch' ,
8- label : app . translator . trans ( 'huoxin-auto-follow-discussion.admin.default-follow-after-create-label' ) ,
9- help : app . translator . trans ( 'huoxin-auto-follow-discussion.admin.default-follow-after-create-help' ) ,
10- } ) ;
4+ app . extensionData . for ( 'huoxin-auto-follow-discussion' ) . registerSetting ( {
5+ setting : 'huoxin-auto-follow-discussion.defaultFollowAfterCreate' ,
6+ type : 'switch' ,
7+ label : app . translator . trans ( 'huoxin-auto-follow-discussion.admin.default-follow-after-create-label' ) ,
8+ help : app . translator . trans ( 'huoxin-auto-follow-discussion.admin.default-follow-after-create-help' ) ,
9+ } ) ;
1110} ) ;
You can’t perform that action at this time.
0 commit comments