Show system events (extrinsic success & failure) (#782)
This commit is contained in:
parent
f85147736a
commit
379161b749
@ -123,10 +123,9 @@ export default class Queue extends React.Component<Props, State> {
|
||||
|
||||
private addResultEvents ({ events = [] }: Partial<SubmittableResult> = {}) {
|
||||
events.filter((record) => record.event).forEach(({ event: { method, section } }) => {
|
||||
// filter events handled globally, or those we are not interested in
|
||||
// NOTE We are not splitting balances, since we want to see the transfer - even if
|
||||
// it doubles-up for own accounts (one with id, one without)
|
||||
if ((section === 'democracy') || (section === 'system')) {
|
||||
// filter events handled globally, or those we are not interested in, these are
|
||||
// handled by the global overview, so don't add them here
|
||||
if (section === 'democracy') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user