mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into release/invokeai-3-0-rc
This commit is contained in:
commit
46801c076f
@ -30,9 +30,8 @@ const GalleryBoardName = (props: Props) => {
|
||||
const numOfBoardImages = useBoardTotal(selectedBoardId);
|
||||
|
||||
const formattedBoardName = useMemo(() => {
|
||||
if (!boardName || !numOfBoardImages) {
|
||||
return '';
|
||||
}
|
||||
if (!boardName) return '';
|
||||
if (boardName && !numOfBoardImages) return boardName;
|
||||
if (boardName.length > 20) {
|
||||
return `${boardName.substring(0, 20)}... (${numOfBoardImages})`;
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ export default function FoundModelsList() {
|
||||
dispatch(
|
||||
addToast(
|
||||
makeToast({
|
||||
title: 'Faile To Add Model',
|
||||
title: 'Failed To Add Model',
|
||||
status: 'error',
|
||||
})
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user