create record wip
This commit is contained in:
1 parent
2a718ac9ee
commit
4470d922b7
42 files changed
+1048
-556
No files matched your search
@@ -34,7 +34,7 @@ export function post(url, postData, callback) {
|
||||
// Turbo.visit(link(res.data.redirect));
|
||||
return;
|
||||
}
|
||||
const errors = makeErrors(res.data.errors);
|
||||
const errors = makeErrors(res.data?.errors ?? []);
|
||||
if (errors.isNotEmpty()) {
|
||||
callback?.(null, errors);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user