updated code comments and fixed checkApiError legacy calls

This commit is contained in:
Gani Georgiev
2026-06-02 14:07:33 +03:00
parent 40d2849aa6
commit e5964e739e
11 changed files with 26 additions and 24 deletions
+4 -4
View File
@@ -31,13 +31,13 @@ export function docsListAuthMethods(collection) {
try {
data.authMethods = await app.pb.collection(collection.name).listAuthMethods();
data.isLoading = false;
} catch (err) {
if (err.isAbort) {
app.pb.checkApiError(err);
if (!err?.isAbort) {
app.checkApiError(err);
data.isLoading = false;
}
}
data.isLoading = false;
}
return t.div(