REFACTOR: Move bootbox to an import instead of global variable (#10533)

This commit is contained in:
Robin Ward
2020-08-26 12:57:13 -04:00
committed by GitHub
parent 354014099d
commit ff4de97dfd
91 changed files with 104 additions and 1 deletions

View File

@ -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);