mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 19:14:03 +00:00
fix for emoji pagination in pack show
This commit is contained in:
parent
88ccade1cb
commit
aae1af8cf1
|
@ -45,6 +45,7 @@ def show(opts) do
|
|||
shortcodes =
|
||||
pack.files
|
||||
|> Map.keys()
|
||||
|> Enum.sort()
|
||||
|> paginate(opts[:page], opts[:page_size])
|
||||
|
||||
pack = Map.put(pack, :files, Map.take(pack.files, shortcodes))
|
||||
|
|
Loading…
Reference in a new issue