Here is the specific data that I am referring to
[
{
"id":1,
"date":"2020-01-02",
"start_time":"11:32:25",
"end_time":"11:32:26",
"editions":null,
"coordinates":null,
"ranking":null,
"user_id":3,
"instructor_id":2,
"course_id":2,
"package_id":null,
"location_id":3,
"created_at":null,
"updated_at":null,
"student_schedules":[
{
"id":1,
"student_schedule_id":1,
"calification":75,
"approved":0
}
],
}
]
I'm attempting to retrieve the 'calification' from the student_schedules
. I've tried the following methods but encountered errors, where history
contains all the data:
history.student_schedules['calification']
history.student_schedules.calification
Unfortunately, these attempts have failed and resulted in errors like:
TypeError: Cannot read property 'calification' of undefined
[Vue warn]: Error in render: "TypeError: Cannot read property 'calification' of undefined"
I'm unsure why these errors are occurring, as the data should be present. How can I properly access this information?