mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 21:29:20 +01:00
Pass in postID for Boosted/Liked sheet here too
This commit is contained in:
parent
66e58c74ef
commit
2bc24cc495
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@ import { Fragment } from 'preact';
|
||||||
import { memo } from 'preact/compat';
|
import { memo } from 'preact/compat';
|
||||||
|
|
||||||
import shortenNumber from '../utils/shorten-number';
|
import shortenNumber from '../utils/shorten-number';
|
||||||
import states from '../utils/states';
|
import states, { statusKey } from '../utils/states';
|
||||||
import store from '../utils/store';
|
import store from '../utils/store';
|
||||||
import useTruncated from '../utils/useTruncated';
|
import useTruncated from '../utils/useTruncated';
|
||||||
|
|
||||||
|
@ -228,6 +228,7 @@ function Notification({
|
||||||
accounts: _accounts,
|
accounts: _accounts,
|
||||||
showReactions: type === 'favourite+reblog',
|
showReactions: type === 'favourite+reblog',
|
||||||
excludeRelationshipAttrs: type === 'follow' ? ['followedBy'] : [],
|
excludeRelationshipAttrs: type === 'follow' ? ['followedBy'] : [],
|
||||||
|
postID: statusKey(actualStatusID, instance),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue