( recordChangeDescriptions: boolean, recordTimeline: boolean, )
| 1285 | } |
| 1286 | |
| 1287 | export function onReloadAndProfile( |
| 1288 | recordChangeDescriptions: boolean, |
| 1289 | recordTimeline: boolean, |
| 1290 | ): void { |
| 1291 | sessionStorageSetItem(SESSION_STORAGE_RELOAD_AND_PROFILE_KEY, 'true'); |
| 1292 | sessionStorageSetItem( |
| 1293 | SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY, |
| 1294 | recordChangeDescriptions ? 'true' : 'false', |
| 1295 | ); |
| 1296 | sessionStorageSetItem( |
| 1297 | SESSION_STORAGE_RECORD_TIMELINE_KEY, |
| 1298 | recordTimeline ? 'true' : 'false', |
| 1299 | ); |
| 1300 | } |
| 1301 | |
| 1302 | export function onReloadAndProfileFlagsReset(): void { |
| 1303 | sessionStorageRemoveItem(SESSION_STORAGE_RELOAD_AND_PROFILE_KEY); |
nothing calls this directly
no test coverage detected