mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Truncate board name if longer than 20 chars
This commit is contained in:
parent
da523fa32f
commit
d523556558
@ -58,7 +58,9 @@ const GalleryBoardName = (props: Props) => {
|
||||
},
|
||||
}}
|
||||
>
|
||||
{boardName}
|
||||
{boardName.length > 20
|
||||
? `${boardName.substring(0, 20)}...`
|
||||
: boardName}
|
||||
</Text>
|
||||
</Box>
|
||||
<Spacer />
|
||||
|
Loading…
Reference in New Issue
Block a user