fix(ui) - onboarding project edit
This commit is contained in:
parent
5eac461564
commit
3e37dce1cd
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ const NewSiteForm = ({
|
|||
update(site, site.id).then((response) => {
|
||||
if (!response || !response.errors || response.errors.size === 0) {
|
||||
onClose(null);
|
||||
fetchList();
|
||||
if (!pathname.includes('onboarding')) {
|
||||
fetchList();
|
||||
}
|
||||
toast.success('Project updated successfully');
|
||||
} else {
|
||||
toast.error(response.errors[0]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue