mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
restore text of Invoke button
This commit is contained in:
parent
f7f0630d97
commit
b2fe24c401
@ -1,6 +1,5 @@
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FaPlus } from 'react-icons/fa';
|
||||
import { useQueueBack } from '../hooks/useQueueBack';
|
||||
import EnqueueButtonTooltip from './QueueButtonTooltip';
|
||||
import QueueButton from './common/QueueButton';
|
||||
@ -18,12 +17,11 @@ const QueueBackButton = ({ asIconButton, sx }: Props) => {
|
||||
<QueueButton
|
||||
asIconButton={asIconButton}
|
||||
colorScheme="accent"
|
||||
label={t('queue.queueBack')}
|
||||
label={t('parameters.invoke.invoke')}
|
||||
isDisabled={isDisabled}
|
||||
isLoading={isLoading}
|
||||
onClick={queueBack}
|
||||
tooltip={<EnqueueButtonTooltip />}
|
||||
icon={<FaPlus />}
|
||||
sx={sx}
|
||||
/>
|
||||
);
|
||||
|
@ -6,7 +6,7 @@ import { ReactElement, ReactNode, memo } from 'react';
|
||||
type Props = {
|
||||
label: string;
|
||||
tooltip: ReactNode;
|
||||
icon: ReactElement;
|
||||
icon?: ReactElement;
|
||||
onClick?: () => void;
|
||||
isDisabled?: boolean;
|
||||
colorScheme: ThemeTypings['colorSchemes'];
|
||||
|
Loading…
Reference in New Issue
Block a user