Compare commits

...

7 commits
int ... main

Author SHA1 Message Date
36e57a0ab4 fix: load accounting connectors even when config endpoint fails
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 45s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 15:41:21 +02:00
5f47dd395c Merge branch 'int'
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 51s
2026-06-09 23:55:04 +02:00
19a39bc443 Merge branch 'int'
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 51s
2026-06-04 23:57:19 +02:00
b21fa78665 Merge pull request 'int' (#5) from int into main
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 50s
Reviewed-on: #5
2026-06-04 19:42:27 +00:00
30db1b8316 Merge pull request 'security and mfa' (#4) from int into main
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 48s
Reviewed-on: #4
2026-06-03 21:25:44 +00:00
5ce871fb3c Merge pull request 'fixes doc generation and renderers' (#3) from int into main
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 47s
Reviewed-on: #3
2026-06-03 15:03:00 +00:00
991952dde9 Merge pull request 'int' (#2) from int into main
All checks were successful
Deploy Nyla Frontend to Production / deploy (push) Successful in 46s
Reviewed-on: #2
2026-06-03 08:27:42 +00:00

View file

@ -88,10 +88,14 @@ export const TrusteeAccountingSettingsView: React.FC = () => {
if (!instanceId) return;
setLoading(true);
try {
const [availableConnectors, config] = await Promise.all([
fetchAccountingConnectors(request, instanceId),
fetchAccountingConfig(request, instanceId),
]);
const connectorsPromise = fetchAccountingConnectors(request, instanceId);
let config: AccountingConfig = { configured: false };
try {
config = await fetchAccountingConfig(request, instanceId);
} catch (configErr: any) {
console.error('Failed to load accounting config:', configErr);
}
const availableConnectors = await connectorsPromise;
setConnectors(availableConnectors || []);
setExistingConfig(config);
if (config?.configured && config.connectorType) {