Switch scheduler UI to dispensary-based API
- Add migrations 021-023 for dispensary_crawl_schedule tables and views - Add dispensary-orchestrator service and bootstrap-discovery script - Update schedule routes with dispensary endpoints (/api/schedule/dispensaries) - Switch frontend scheduler to use canonical dispensaries table (182 AZDHS entries) - Add dispensary schedule API methods to frontend api.ts - Remove "Unmapped" badge logic - all dispensaries now linked properly - Add proper URL linking to dispensary detail pages (/dispensaries/:state/:city/:slug) - Update Jobs table to show dispensary_name 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -82,8 +82,8 @@ export function Layout({ children }: LayoutProps) {
|
||||
useEffect(() => {
|
||||
const fetchVersion = async () => {
|
||||
try {
|
||||
const response = await api.get('/version');
|
||||
setVersionInfo(response.data);
|
||||
const data = await api.getVersion();
|
||||
setVersionInfo(data);
|
||||
} catch (error) {
|
||||
console.error('Failed to fetch version info:', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user