-
Notifications
You must be signed in to change notification settings - Fork 1
Enable restoring PVs #49
Copy link
Copy link
Milestone
Description
Currently squirrel frontend only has a placeholder for restoring PVs.
The backend does have an API Endpoint: POST /v1/snapshots/{snapshot_id}/restore
This is untested.
the restore logic in the backend can be seen at app/services/epics_service.py
placeholder in src/routes/snapshot-details.tsx:
const handleRestore = useCallback((pvs: PV[]) => {
console.log('Restoring PVs:', pvs);
alert(`Restoring ${pvs.length} PV(s) - This feature is not yet implemented`);
}, []);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels