psychedelicious 8e90f9024d feat(ui): remove isRefinerAvailable state, update refiner node
We can derive `isRefinerAvailable` from the query result (eg are there any refiner models installed). This is a piece of server state, so by using the list models response directly, we can avoid needing to manually keep the client in sync with the server.

Created a `useIsRefinerAvailable()` hook to return this boolean wherever it is needed.

Also updated the main models & refiner models endpoints to only return the appropriate models. Now we don't need to filter the data on these endpoints.
2023-07-26 14:46:38 +10:00
..
2023-07-21 07:48:30 -04:00
2023-07-13 20:31:10 +00:00
2023-05-11 11:55:51 +10:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-07-22 21:12:51 +10:00
2023-07-22 21:12:51 +10:00