diff --git a/backend/server/api/blueprints/blueprints.go b/backend/server/api/blueprints/blueprints.go index 23383d4682f..841027424cc 100644 --- a/backend/server/api/blueprints/blueprints.go +++ b/backend/server/api/blueprints/blueprints.go @@ -166,6 +166,7 @@ func Patch(c *gin.Context) { // @Accept application/json // @Param blueprintId path string true "blueprintId" // @Param skipCollectors body models.TriggerSyncPolicy false "json" +// @Param fullSync body models.TriggerSyncPolicy false "json" // @Success 200 {object} models.Pipeline // @Failure 400 {object} shared.ApiBody "Bad Request" // @Failure 500 {object} shared.ApiBody "Internal Error" diff --git a/config-ui/src/routes/blueprint/detail/status-panel.tsx b/config-ui/src/routes/blueprint/detail/status-panel.tsx index a4feee6dfc3..0dbf72a9b65 100644 --- a/config-ui/src/routes/blueprint/detail/status-panel.tsx +++ b/config-ui/src/routes/blueprint/detail/status-panel.tsx @@ -134,7 +134,7 @@ export const StatusPanel = ({ from, blueprint, pipelineId, onRefresh }: Props) = type="primary" disabled={!blueprint.enable} loading={operating} - onClick={() => handleRun({ skipCollectors: true })} + onClick={() => handleRun({ skipCollectors: true, fullSync: true })} > Re-transform Data