import { service } from "@ember/service";
بمجرد إضافة ذلك، سيعمل @service currentUser لديك بشكل صحيح مرة أخرى.
@service currentUser