pull/9581/head
parent
ca16219d0a
commit
0eacbcd12e
@ -1,4 +1,4 @@ |
||||
export default function idFromLink(href:string|null):number { |
||||
export default function idFromLink(href:string|null):string { |
||||
const idPart = (href || '').split('/').pop()!; |
||||
return parseInt(decodeURIComponent(idPart), 10); |
||||
return decodeURIComponent(idPart); |
||||
} |
||||
|
Loading…
Reference in new issue