-
Notifications
You must be signed in to change notification settings - Fork 39
fix: change delete confirm input field from name to title #1295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Pull Request Test Coverage Report for Build 19559459153Details
💛 - Coveralls |
| async function onSubmit(data: any) { | ||
| if (!organization?.id) return; | ||
| if (data.name !== organization.name) | ||
| if (data.name !== organization.title) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets change the form field naming as well to title ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
PR title should be opposite, name to title ? |
| if (!organization?.id || !projectId) return; | ||
| if (data.name !== project?.name) | ||
| return setError('name', { message: 'project name is not same' }); | ||
| if (data.name !== project?.title) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
|
||
| if (data.name !== team?.name) | ||
| return setError('name', { message: 'team name is not same' }); | ||
| if (data.name !== team?.title) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Summary
This PR:
Changes
Organization Deletion (general/delete.tsx)
Teams Deletion (teams/delete.tsx)
Projects Deletion (project/delete.tsx)
Domain Deletion (domain/delete.tsx)
Technical Details
Test Plan