pl-fe: use correct dropdown menu icon

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2025-01-29 20:00:55 +01:00
parent 2b11a06ad0
commit a33b720456
3 changed files with 5 additions and 2 deletions

View File

@ -46,6 +46,9 @@ const preprocessAccount = v.transform((account: any) => {
local: typeof account.pleroma?.is_local === 'boolean' ? account.pleroma.is_local : account.acct.split('@')[1] === undefined,
discoverable: account.discoverable || account.pleroma?.source?.discoverable,
verified: account.verified || account.pleroma?.tags?.includes('verified'),
...(account.role?.permissions ? {
is_admin: account.role?.permissions & 0x1,
} : {}),
...(pick(account.pleroma || {}, [
'ap_id',
'background_image',

View File

@ -1,6 +1,6 @@
{
"name": "pl-api",
"version": "1.0.0-rc.21",
"version": "1.0.0-rc.22",
"type": "module",
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
"repository": {