mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): "CopyWorkflowLinkModal" -> "ShareWorkflowModal"
This commit is contained in:
@@ -21,7 +21,7 @@ import DeleteImageModal from 'features/deleteImageModal/components/DeleteImageMo
|
||||
import { DynamicPromptsModal } from 'features/dynamicPrompts/components/DynamicPromptsPreviewModal';
|
||||
import DeleteBoardModal from 'features/gallery/components/Boards/DeleteBoardModal';
|
||||
import { useStarterModelsToast } from 'features/modelManagerV2/hooks/useStarterModelsToast';
|
||||
import { CopyWorkflowLinkModal } from 'features/nodes/components/sidePanel/WorkflowListMenu/CopyWorkflowLinkModal';
|
||||
import { ShareWorkflowModal } from 'features/nodes/components/sidePanel/WorkflowListMenu/ShareWorkflowModal';
|
||||
import { ClearQueueConfirmationsAlertDialog } from 'features/queue/components/ClearQueueConfirmationAlertDialog';
|
||||
import { DeleteStylePresetDialog } from 'features/stylePresets/components/DeleteStylePresetDialog';
|
||||
import { StylePresetModal } from 'features/stylePresets/components/StylePresetForm/StylePresetModal';
|
||||
@@ -114,7 +114,7 @@ const App = ({ config = DEFAULT_CONFIG, studioInitAction }: Props) => {
|
||||
<NewWorkflowConfirmationAlertDialog />
|
||||
<DeleteStylePresetDialog />
|
||||
<DeleteWorkflowDialog />
|
||||
<CopyWorkflowLinkModal />
|
||||
<ShareWorkflowModal />
|
||||
<RefreshAfterResetModal />
|
||||
<DeleteBoardModal />
|
||||
<GlobalImageHotkeys />
|
||||
|
||||
@@ -32,7 +32,7 @@ export const useShareWorkflow = () => {
|
||||
return copyWorkflowLink;
|
||||
};
|
||||
|
||||
export const CopyWorkflowLinkModal = () => {
|
||||
export const ShareWorkflowModal = () => {
|
||||
const workflowToShare = useStore($workflowToShare);
|
||||
const projectUrl = useStore($projectUrl);
|
||||
const { t } = useTranslation();
|
||||
@@ -14,7 +14,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { PiDownloadSimpleBold, PiPencilBold, PiShareFatBold, PiTrashBold } from 'react-icons/pi';
|
||||
import type { WorkflowRecordListItemDTO } from 'services/api/types';
|
||||
|
||||
import { useShareWorkflow } from './CopyWorkflowLinkModal';
|
||||
import { useShareWorkflow } from './ShareWorkflowModal';
|
||||
import { WorkflowListItemTooltip } from './WorkflowListItemTooltip';
|
||||
|
||||
export const WorkflowListItem = ({ workflow }: { workflow: WorkflowRecordListItemDTO }) => {
|
||||
|
||||
Reference in New Issue
Block a user