Pleroma: use string interpolation for status ID
Co-authored-by: rugk <rugk+git@posteo.de>
This commit is contained in:
parent
94f0903614
commit
cb616e504d
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ export function getTabToModify(requestDetails) {
|
|||
*/
|
||||
export function getTootUrl(url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve("https://" + url.host + "/notice/" + url.searchParams.get("status_id"));
|
||||
resolve(`https://${url.host}/notice/{url.searchParams.get("status_id")}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue