notifications: fix post url

This commit is contained in:
Liam Fitzgerald 2021-04-02 14:39:17 +10:00
parent 5c47bf5bc0
commit 47c59de82f
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -193,8 +193,7 @@ function getNodeUrl(
}
return graphUrl;
} else if( mod === 'post') {
const [last, ...rest] = idx.reverse();
return `/~landscape${groupPath}/feed/${rest.join('/')}?post=${last}`;
return `/~landscape${groupPath}/feed${index}`;
}
return '';
}