mirror of
https://github.com/flarum/core.git
synced 2025-08-24 09:03:05 +02:00
Expose compat API on admin frontend
This commit is contained in:
@@ -14,3 +14,10 @@ app.initializers.add('flarum-tags', app => {
|
|||||||
addTagsHomePageOption();
|
addTagsHomePageOption();
|
||||||
addTagChangePermission();
|
addTagChangePermission();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// Expose compat API
|
||||||
|
import tagsCompat from './compat';
|
||||||
|
import { compat } from '@flarum/core/admin';
|
||||||
|
|
||||||
|
Object.assign(compat, tagsCompat);
|
||||||
|
Reference in New Issue
Block a user