mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Fixed: Add pagination support to the emote menu's data loader (#507)
* Fix emote menu not loading more than 100 subscription benefits * Implement @last support in .get Modify `curr_cursor` to use the new get @last modifier
This commit is contained in:
parent
db2c7918d5
commit
6518c8e7a4
2 changed files with 14 additions and 3 deletions
|
@ -201,7 +201,9 @@ export function get(path, object) {
|
|||
|
||||
break;
|
||||
|
||||
} else
|
||||
} else if ( part === '@last' )
|
||||
object = object[object.length - 1];
|
||||
else
|
||||
object = object[path[i]];
|
||||
|
||||
if ( ! object )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue