Skip to content

Commit

Permalink
allow admin to show/hide flags on posts
Browse files Browse the repository at this point in the history
  • Loading branch information
justoverclockl committed Feb 8, 2022
1 parent 1be2093 commit baaaf87
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 20 deletions.
2 changes: 2 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
->css(__DIR__.'/less/admin.less'),
new Extend\Locales(__DIR__.'/locale'),

(new Extend\Settings())->serializeToForum('justoverclock-country-flags.showFlagsOnPosts', 'justoverclock-country-flags.showFlagsOnPosts', 'boolval', false),

(new Extend\Event())
->listen(Saving::class, SaveCountryCodeToDatabase::class),

Expand Down
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit baaaf87

Please sign in to comment.