Skip to content

Commit a339b2e

Browse files
committed
Fixed comments
1 parent bacda69 commit a339b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/DashboardThunks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const loadDashboardThunk = (text) => (dispatch: any, getState: any) => {
6868
}
6969
var dashboard = JSON.parse(text);
7070

71-
// Sanity check - make sure we didn't try to load a debug
71+
// If we load a debug report, take out the 'dashboard' value and set it to safe values.
7272
if (dashboard["_persist"] && dashboard["application"] && dashboard["dashboard"]) {
7373
dispatch(createNotificationThunk("Loaded a Debug Report", "Recovery-mode active. All report types were set to 'table'."));
7474
dashboard['dashboard']['pages'].map(p => {

0 commit comments

Comments
 (0)