Delete report grid subscriber shows 'undefined' name
#CTCTOWALTZ-2405
role: member.role
}
- reportGridMemberStore.deleteRole(reportGridMember);
+ let deletePromise = reportGridMemberStore.deleteRole(reportGridMember);
+ Promise.resolve(deletePromise)
+ .then(r => {
reloadMembers();
selectedMember = null;
+ })
}
function cancel(){
reloadMembers();
activeMode = Modes.VIEW;
})
- .catch(e => toasts.error(`Could not add ${p.name} as a subscriber to this grid.`))
+ .catch(e => toasts.error(`Could not add ${p.name} as a subscriber to this grid.` + e.error))
}
</script>
