
Introduced checks to prevent reassigning beamtime if puck samples have recorded events. Updated logging in beamline-related methods to provide more insight. Simplified data structure updates for dewars, pucks, and samples, ensuring consistency with beamtime assignments.
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
import React from 'react';
|
|
import CustomCalendar from '../components/Calendar.tsx';
|
|
|
|
interface PlanningViewProps {
|
|
onPgroupChange?: (pgroup: string) => void;
|
|
activePgroup: string;
|
|
}
|
|
|
|
const PlanningView: React.FC<PlanningViewProps> = ({ onPgroupChange, activePgroup }) => {
|
|
return <CustomCalendar
|
|
activePgroup={activePgroup}
|
|
onPgroupChange={onPgroupChange}
|
|
/>;
|
|
};
|
|
|
|
export default PlanningView; |