Always show recording link even if recordings are currently disabled (#2787)

* Always show recording link even if recordings are currently disabled

* Fix test to consider all cameras to have recording link
This commit is contained in:
Nicolas Mowen
2022-02-18 21:18:26 -06:00
committed by Blake Blackshear
parent ebdfbfe96c
commit 5627b66a6e
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ describe('Cameras Route', () => {
expect(screen.queryByLabelText('Loading…')).not.toBeInTheDocument();
expect(screen.queryAllByText('Recordings')).toHaveLength(1);
expect(screen.queryAllByText('Recordings')).toHaveLength(2);
});
test('buttons toggle detect, clips, and snapshots', async () => {