mirror of
https://github.com/harness/drone.git
synced 2025-05-22 03:49:54 +08:00
fix: [code-695]: fix form
This commit is contained in:
parent
fdfa3ff39f
commit
8011df2974
@ -72,9 +72,7 @@ const ImportSpaceForm = (props: ImportFormProps) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const handleImport = async () => {
|
const handleImport = async () => {
|
||||||
console.log('ds')
|
|
||||||
await handleSubmit(formik.values)
|
await handleSubmit(formik.values)
|
||||||
console.log('pos')
|
|
||||||
setButtonLoading(false)
|
setButtonLoading(false)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
@ -68,7 +68,6 @@ export default function RepositoriesListing() {
|
|||||||
// should I include pipeline id here? what if a new pipeline is created? coould check for ids that are higher than the lowest id on the page?
|
// should I include pipeline id here? what if a new pipeline is created? coould check for ids that are higher than the lowest id on the page?
|
||||||
if (repositories?.some(repository => repository.id === data?.id && repository.parent_id === data?.parent_id)) {
|
if (repositories?.some(repository => repository.id === data?.id && repository.parent_id === data?.parent_id)) {
|
||||||
//TODO - revisit full refresh - can I use the message to update the execution?
|
//TODO - revisit full refresh - can I use the message to update the execution?
|
||||||
console.log('here')
|
|
||||||
refetch()
|
refetch()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user