mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Badge granting recursion error (#20750)
Moving the `grantBadge` action out of the actions hash caused it to clash with a method of the same name from the GrantBadgeController mixin. This commit renames the action.
This commit is contained in:
@@ -69,7 +69,7 @@ export default class AdminUserBadgesController extends Controller.extend(
|
||||
}
|
||||
|
||||
@action
|
||||
grantBadge() {
|
||||
performGrantBadge() {
|
||||
this.grantBadge(
|
||||
this.selectedBadgeId,
|
||||
this.get("user.username"),
|
||||
|
||||
Reference in New Issue
Block a user