|
|
@@ -85,7 +85,7 @@ class Calendar extends Component {
|
|
|
return nextState.dataLaporan !== this.state.dataLaporan;
|
|
|
}
|
|
|
|
|
|
- getStatus = () => (this.props.user.role.id === 2021 ? statusLLDIKTI : status);
|
|
|
+ getStatus = () => (this.props.user?.role.id === 2021 ? statusLLDIKTI : status);
|
|
|
|
|
|
getDataEvent = () => {
|
|
|
const dataEvent = this.state.dataLaporan.data.map((e) => ({
|