PinnedAccounts: add icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
7aef1d923b
commit
a32a34879d
|
@ -282,7 +282,11 @@ class Header extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (features.accountEndorsements) {
|
if (features.accountEndorsements) {
|
||||||
menu.push({ text: intl.formatMessage(account.getIn(['relationship', 'endorsed']) ? messages.unendorse : messages.endorse), action: this.props.onEndorseToggle });
|
menu.push({
|
||||||
|
text: intl.formatMessage(account.getIn(['relationship', 'endorsed']) ? messages.unendorse : messages.endorse),
|
||||||
|
action: this.props.onEndorseToggle,
|
||||||
|
icon: require('@tabler/icons/icons/user-check.svg'),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.push(null);
|
menu.push(null);
|
||||||
|
|
Loading…
Reference in New Issue