mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Chore: Fix bunch of strict null error to fix master CI (#23443)
* Fix bunch of null error * Fix failing test * Another test fix
This commit is contained in:
@@ -21,7 +21,7 @@ export const LogsPanel: React.FunctionComponent<LogsPanelProps> = ({
|
||||
);
|
||||
}
|
||||
|
||||
const newResults = data ? dataFrameToLogsModel(data.series, data.request.intervalMs, timeZone) : null;
|
||||
const newResults = data ? dataFrameToLogsModel(data.series, data.request?.intervalMs, timeZone) : null;
|
||||
const sortedNewResults = sortLogsResult(newResults, sortOrder);
|
||||
|
||||
return (
|
||||
|
||||
@@ -658,7 +658,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
|
||||
window.location.href = linkInfo.href;
|
||||
} else {
|
||||
$timeout(() => {
|
||||
$location.url(locationUtil.stripBaseFromUrl(linkInfo.href));
|
||||
$location.url(locationUtil.stripBaseFromUrl(linkInfo!.href));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user