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 numOfBoardImages = useBoardTotal(selectedBoardId);
|
||||||
|
|
||||||
const formattedBoardName = useMemo(() => {
|
const formattedBoardName = useMemo(() => {
|
||||||
if (!boardName || !numOfBoardImages) {
|
if (!boardName) return '';
|
||||||
return '';
|
if (boardName && !numOfBoardImages) return boardName;
|
||||||
}
|
|
||||||
if (boardName.length > 20) {
|
if (boardName.length > 20) {
|
||||||
return `${boardName.substring(0, 20)}... (${numOfBoardImages})`;
|
return `${boardName.substring(0, 20)}... (${numOfBoardImages})`;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ export default function FoundModelsList() {
|
|||||||
dispatch(
|
dispatch(
|
||||||
addToast(
|
addToast(
|
||||||
makeToast({
|
makeToast({
|
||||||
title: 'Faile To Add Model',
|
title: 'Failed To Add Model',
|
||||||
status: 'error',
|
status: 'error',
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user