diff --git a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx index a30d8bcac1..51de6bea2e 100644 --- a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx @@ -510,7 +510,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => { icon={} tooltip={`${t('parameters.useSeed')} (S)`} aria-label={`${t('parameters.useSeed')} (S)`} - isDisabled={!image?.metadata?.sd_metadata?.seed} + isDisabled={!image?.metadata?.invokeai?.node?.seed} onClick={handleUseSeed} /> diff --git a/invokeai/frontend/web/src/features/parameters/hooks/useParameters.ts b/invokeai/frontend/web/src/features/parameters/hooks/useParameters.ts index ac4aa83098..7c45f159b2 100644 --- a/invokeai/frontend/web/src/features/parameters/hooks/useParameters.ts +++ b/invokeai/frontend/web/src/features/parameters/hooks/useParameters.ts @@ -1,4 +1,4 @@ -import { useToast } from '@chakra-ui/react'; +import { UseToastOptions, useToast } from '@chakra-ui/react'; import { useAppDispatch } from 'app/store/storeHooks'; import { isFinite, isString } from 'lodash-es'; import { useCallback } from 'react'; @@ -51,7 +51,7 @@ export const useParameters = () => { toast({ title: t('toast.seedNotSet'), description: t('toast.seedNotSetDesc'), - status: 'error', + status: 'warning', duration: 2500, isClosable: true, }); @@ -61,7 +61,7 @@ export const useParameters = () => { dispatch(setSeed(s)); toast({ title: t('toast.seedSet'), - status: 'success', + status: 'info', duration: 2500, isClosable: true, }); @@ -78,7 +78,7 @@ export const useParameters = () => { toast({ title: t('toast.initialImageNotSet'), description: t('toast.initialImageNotSetDesc'), - status: 'error', + status: 'warning', duration: 2500, isClosable: true, }); @@ -90,7 +90,7 @@ export const useParameters = () => { ); toast({ title: t('toast.initialImageSet'), - status: 'success', + status: 'info', duration: 2500, isClosable: true, }); @@ -107,7 +107,7 @@ export const useParameters = () => { toast({ title: t('toast.imageNotLoaded'), description: t('toast.imageNotLoadedDesc'), - status: 'error', + status: 'warning', duration: 2500, isClosable: true, }); @@ -115,10 +115,9 @@ export const useParameters = () => { } dispatch(initialImageSelected({ name: image.name, type: image.type })); - toast({ title: t('toast.sentToImageToImage'), - status: 'success', + status: 'info', duration: 2500, isClosable: true, });