mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
restore text of Invoke button (#4606)
## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [ ] Bug Fix - [ ] Optimization - [ ] Documentation Update - [ ] Community Node Submission ## Have you discussed this change with the InvokeAI team? - [ ] Yes - [ ] No, because: ## Have you updated all relevant documentation? - [ ] Yes - [ ] No ## Description ## Related Tickets & Documents <!-- For pull requests that relate or close an issue, please include them below. For example having the text: "closes #1234" would connect the current pull request to issue 1234. And when we merge the pull request, Github will automatically close the issue. --> - Related Issue # - Closes # ## QA Instructions, Screenshots, Recordings <!-- Please provide steps on how to test changes, any hardware or software specifications as well as any other pertinent information. --> ## Added/updated tests? - [ ] Yes - [ ] No : _please replace this line with details on why tests have not been included_ ## [optional] Are there any post deployment tasks we need to perform?
This commit is contained in:
commit
ad49380cd1
@ -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