mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
REFACTOR: Move bootbox
to an import instead of global variable (#10533)
This commit is contained in:
@ -10,6 +10,7 @@ import Group from "discourse/models/group";
|
||||
import DiscourseURL, { userPath } from "discourse/lib/url";
|
||||
import { Promise } from "rsvp";
|
||||
import User from "discourse/models/user";
|
||||
import bootbox from "bootbox";
|
||||
|
||||
const wrapAdmin = user => (user ? AdminUser.create(user) : null);
|
||||
|
||||
|
Reference in New Issue
Block a user