automation fixes
This commit is contained in:
@@ -25,7 +25,7 @@ import {
|
||||
} from '../../icons';
|
||||
import {
|
||||
fetchDeploymentReadiness,
|
||||
fetchSiteBlueprints,
|
||||
// fetchSiteBlueprints,
|
||||
DeploymentReadiness,
|
||||
} from '../../services/api';
|
||||
import { fetchAPI } from '../../services/api';
|
||||
@@ -50,7 +50,8 @@ export default function DeploymentPanel() {
|
||||
if (!siteId) return;
|
||||
try {
|
||||
setLoading(true);
|
||||
const blueprintsData = await fetchSiteBlueprints({ site_id: Number(siteId) });
|
||||
// const blueprintsData = await fetchSiteBlueprints({ site_id: Number(siteId) });
|
||||
const blueprintsData = null;
|
||||
if (blueprintsData?.results && blueprintsData.results.length > 0) {
|
||||
setBlueprints(blueprintsData.results);
|
||||
const firstBlueprint = blueprintsData.results[0];
|
||||
|
||||
Reference in New Issue
Block a user