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:
n8n-cat-bot[bot] 2026-10-15 07:54:00 +00:00 committed by GitHub
parent 07595a0007
commit 9c0b546a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>