List own comments #7171
1 changed files with 7 additions and 0 deletions
|
@ -70,6 +70,7 @@ type Props = {
|
||||||
streamingUrl: ?string,
|
streamingUrl: ?string,
|
||||||
getFile: (string) => void,
|
getFile: (string) => void,
|
||||||
customShouldHide?: (Claim) => boolean,
|
customShouldHide?: (Claim) => boolean,
|
||||||
|
searchParams?: { [string]: string },
|
||||||
showUnresolvedClaim?: boolean,
|
showUnresolvedClaim?: boolean,
|
||||||
showNullPlaceholder?: boolean,
|
showNullPlaceholder?: boolean,
|
||||||
includeSupportAction?: boolean,
|
includeSupportAction?: boolean,
|
||||||
|
@ -125,6 +126,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
||||||
// modifiers
|
// modifiers
|
||||||
active,
|
active,
|
||||||
customShouldHide,
|
customShouldHide,
|
||||||
|
searchParams,
|
||||||
showNullPlaceholder,
|
showNullPlaceholder,
|
||||||
// value from show mature content user setting
|
// value from show mature content user setting
|
||||||
// true if the user doesn't wanna see nsfw content
|
// true if the user doesn't wanna see nsfw content
|
||||||
|
@ -221,6 +223,11 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
||||||
if (listId) {
|
if (listId) {
|
||||||
navigateSearch.set(COLLECTIONS_CONSTS.COLLECTION_ID, listId);
|
navigateSearch.set(COLLECTIONS_CONSTS.COLLECTION_ID, listId);
|
||||||
}
|
}
|
||||||
|
if (searchParams) {
|
||||||
|
Object.keys(searchParams).forEach((key) => {
|
||||||
|
navigateSearch.set(key, searchParams[key]);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const handleNavLinkClick = (e) => {
|
const handleNavLinkClick = (e) => {
|
||||||
if (onClick) {
|
if (onClick) {
|
||||||
|
|
Loading…
Reference in a new issue