frontend: fix strict production build typing

This commit is contained in:
archipelago
2026-06-11 01:30:49 -04:00
parent f818f1dcc1
commit c79afa9541
8 changed files with 34 additions and 12 deletions
@@ -6,7 +6,7 @@ describe('resolveAppCredentials', () => {
expect(resolveAppCredentials('filebrowser', {
title: 'Backend credentials',
credentials: [{ label: 'Password', value: 'secret' }],
})?.credentials[0].value).toBe('secret')
})?.credentials[0]?.value).toBe('secret')
})
it('falls back to File Browser default credentials when backend data is not available', () => {