fix if click name in QT can't show post owner's profile(8)
This commit is contained in:
parent
f24825d4bb
commit
32be19d6f1
@ -186,12 +186,11 @@ class Status extends ImmutablePureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleAccountClick = (e, proper = true) => {
|
handleAccountClick = (e, proper = true) => {
|
||||||
// if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
|
if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
|
||||||
// const id = e.currentTarget.getAttribute('data-id');
|
const id = e.currentTarget.getAttribute('data-id');
|
||||||
// e.preventDefault();
|
e.preventDefault();
|
||||||
// this.context.router.history.push(`/accounts/${id}`);
|
this._openProfile(proper);
|
||||||
// }
|
}
|
||||||
this._openProfile(proper);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
handleQuoteClick = () => {
|
handleQuoteClick = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user