feat: restore link widgets

This commit is contained in:
Cory Dransfeldt 2024-10-28 13:36:39 -07:00
parent d813bd505f
commit 5911b30917
No known key found for this signature in database
18 changed files with 319 additions and 17 deletions

View file

@ -23,6 +23,8 @@ SELECT
json_build_object('type', pb.collection, 'text', md.text)
WHEN pb.collection = 'divider' THEN
json_build_object('type', pb.collection, 'markup', d.markup)
WHEN pb.collection = 'addon_links' THEN
json_build_object('type', pb.collection, 'addon_links', d.title)
ELSE
json_build_object('type', pb.collection)
END ORDER BY pb.sort)