DEV: Use the "new" service import (#26059)

This commit is contained in:
Jarek Radosz
2024-03-06 18:05:11 +01:00
committed by GitHub
parent 11067c73d0
commit 5d90332cfc
605 changed files with 611 additions and 611 deletions

View File

@ -2,7 +2,7 @@ import Controller, { inject as controller } from "@ember/controller";
import { action } from "@ember/object";
import { alias, empty, sort } from "@ember/object/computed";
import { next } from "@ember/runloop";
import { inject as service } from "@ember/service";
import { service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { grantableBadges } from "discourse/lib/grant-badge-utils";
import UserBadge from "discourse/models/user-badge";