mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 12:33:22 +08:00
Expose compat API on admin frontend
This commit is contained in:
parent
1650d530e9
commit
6972e7aea0
|
@ -14,3 +14,10 @@ app.initializers.add('flarum-tags', app => {
|
|||
addTagsHomePageOption();
|
||||
addTagChangePermission();
|
||||
});
|
||||
|
||||
|
||||
// Expose compat API
|
||||
import tagsCompat from './compat';
|
||||
import { compat } from '@flarum/core/admin';
|
||||
|
||||
Object.assign(compat, tagsCompat);
|
||||
|
|
Loading…
Reference in New Issue
Block a user