Skip to content

Commit a6e13d5

Browse files
author
rmmayo
committed
#3500 - use the proper badgeId on edit
1 parent 5629498 commit a6e13d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/components/badges/global/GlobalBadgePage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const goLive = (editedBadge) => {
9191
};
9292
const badgeEdited = (editedBadge) => {
9393
const origId = badge.value.badgeId;
94-
badgeState.loadGlobalBadgeDetailsState(badgeId.value).finally(() => {
94+
badgeState.loadGlobalBadgeDetailsState(editedBadge.badgeId).finally(() => {
9595
badge.value = badgeState.badge;
9696
if (origId !== editedBadge.badgeId) {
9797
badgeId.value = editedBadge.badgeId;

0 commit comments

Comments
 (0)