Releasing new design #161

Merged
b merged 241 commits from staging into main 2024-08-21 11:38:25 +00:00
Showing only changes of commit 42d74c656a - Show all commits

View File

@ -420,12 +420,10 @@ export const DrawPDFFields = (props: Props) => {
{users {users
.filter((u) => u.role === UserRole.signer) .filter((u) => u.role === UserRole.signer)
.map((user, index) => { .map((user, index) => {
let displayValue = truncate( const npub = hexToNpub(user.pubkey)
hexToNpub(user.pubkey), let displayValue = truncate(npub, {
{
length: 16 length: 16
} })
)
const metadata = props.metadata[user.pubkey] const metadata = props.metadata[user.pubkey]
@ -433,7 +431,8 @@ export const DrawPDFFields = (props: Props) => {
displayValue = truncate( displayValue = truncate(
metadata.name || metadata.name ||
metadata.display_name || metadata.display_name ||
metadata.username, metadata.username ||
npub,
{ {
length: 16 length: 16
} }