mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
chore: Bug - Delete project confirmation dialog button misaligned (#41160)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
This commit is contained in:
parent
07595a0007
commit
9c0b546a30
|
|
@ -9,7 +9,7 @@ import type { ResourceCounts } from '../projects.store';
|
|||
import { APP_MODALS_ELEMENT_ID } from '@/app/constants';
|
||||
|
||||
import { ElDialog, ElRadio } from 'element-plus';
|
||||
import { N8nButton, N8nInput, N8nInputLabel, N8nText } from '@n8n/design-system';
|
||||
import { N8nButton, N8nDialogFooter, N8nInput, N8nInputLabel, N8nText } from '@n8n/design-system';
|
||||
type Props = {
|
||||
currentProject: Project | null;
|
||||
searchFn?: ProjectSearchFn;
|
||||
|
|
@ -123,14 +123,16 @@ const onDelete = () => {
|
|||
</div>
|
||||
</div>
|
||||
<template #footer>
|
||||
<N8nButton
|
||||
variant="destructive"
|
||||
type="button"
|
||||
:disabled="!isValid"
|
||||
data-test-id="project-settings-delete-confirm-button"
|
||||
@click.stop.prevent="onDelete"
|
||||
>{{ locale.baseText('projects.settings.danger.deleteProject') }}</N8nButton
|
||||
>
|
||||
<N8nDialogFooter>
|
||||
<N8nButton
|
||||
variant="destructive"
|
||||
type="button"
|
||||
:disabled="!isValid"
|
||||
data-test-id="project-settings-delete-confirm-button"
|
||||
@click.stop.prevent="onDelete"
|
||||
>{{ locale.baseText('projects.settings.danger.deleteProject') }}</N8nButton
|
||||
>
|
||||
</N8nDialogFooter>
|
||||
</template>
|
||||
</ElDialog>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user