Add optional chaining for file.parent access across 5 files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1062,7 +1062,7 @@ function getAvgWaitingTimeLineChart(chartData, content, yUnit) {
|
||||
if (!isCheckPage) {
|
||||
id = routeParams.fileId;
|
||||
} else {
|
||||
id = file.parent.id;
|
||||
id = file.parent?.id;
|
||||
}
|
||||
|
||||
// Fetch Performance Data
|
||||
|
||||
Reference in New Issue
Block a user