Skip to content

Commit

Permalink
fix: Update the receiver field after sending kudos - MEED-2419 - Meed…
Browse files Browse the repository at this point in the history
…s-io/MIPs#54 (#345)

This change will update the receiver field after sending kudos.
  • Loading branch information
MayTekayaa authored and boubaker committed Sep 11, 2023
1 parent 40cf8ff commit 7bb21f0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<div class="d-flex flex-column pt-5">
<span class="text-header-title text-no-wrap">{{ $t('exoplatform.kudos.receiver.title') }}</span>
<exo-identity-suggester
ref="kudosReceiverAutoComplete"
id="kudosReceiverAutoComplete"
ref="kudosReceiver"
id="kudosReceiver"
v-model="selectedReceiver"
:labels="receiverSuggesterLabels"
:search-options="searchOptions"
Expand Down Expand Up @@ -531,6 +531,7 @@ export default {
});
})
.then(() => {
this.selectedReceiver = null;
this.$refs.activityKudosDrawer.close();
this.displayAlert(this.$t('exoplatform.kudos.success.kudosSent'));
})
Expand Down

0 comments on commit 7bb21f0

Please sign in to comment.