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 { memo } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { FaPlus } from 'react-icons/fa';
|
|
||||||
import { useQueueBack } from '../hooks/useQueueBack';
|
import { useQueueBack } from '../hooks/useQueueBack';
|
||||||
import EnqueueButtonTooltip from './QueueButtonTooltip';
|
import EnqueueButtonTooltip from './QueueButtonTooltip';
|
||||||
import QueueButton from './common/QueueButton';
|
import QueueButton from './common/QueueButton';
|
||||||
@ -18,12 +17,11 @@ const QueueBackButton = ({ asIconButton, sx }: Props) => {
|
|||||||
<QueueButton
|
<QueueButton
|
||||||
asIconButton={asIconButton}
|
asIconButton={asIconButton}
|
||||||
colorScheme="accent"
|
colorScheme="accent"
|
||||||
label={t('queue.queueBack')}
|
label={t('parameters.invoke.invoke')}
|
||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
onClick={queueBack}
|
onClick={queueBack}
|
||||||
tooltip={<EnqueueButtonTooltip />}
|
tooltip={<EnqueueButtonTooltip />}
|
||||||
icon={<FaPlus />}
|
|
||||||
sx={sx}
|
sx={sx}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
@ -6,7 +6,7 @@ import { ReactElement, ReactNode, memo } from 'react';
|
|||||||
type Props = {
|
type Props = {
|
||||||
label: string;
|
label: string;
|
||||||
tooltip: ReactNode;
|
tooltip: ReactNode;
|
||||||
icon: ReactElement;
|
icon?: ReactElement;
|
||||||
onClick?: () => void;
|
onClick?: () => void;
|
||||||
isDisabled?: boolean;
|
isDisabled?: boolean;
|
||||||
colorScheme: ThemeTypings['colorSchemes'];
|
colorScheme: ThemeTypings['colorSchemes'];
|
||||||
|
Loading…
Reference in New Issue
Block a user