(nextWorkspace)
| 506 | }); |
| 507 | |
| 508 | const setWorkspace = (nextWorkspace) => { |
| 509 | const next = nextWorkspace && typeof nextWorkspace === 'object' ? nextWorkspace : {}; |
| 510 | if (sourceEl && typeof next.sourceId !== 'undefined') { |
| 511 | sourceEl.value = normalizeSourceId(next.sourceId); |
| 512 | } |
| 513 | if (rootEl && typeof next.rootPath !== 'undefined') { |
| 514 | rootEl.value = normalizeFolderPath(next.rootPath); |
| 515 | } |
| 516 | updateScopeSummary(); |
| 517 | }; |
| 518 | |
| 519 | let savedRecipes = []; |
| 520 | let lastRecipeDraft = null; |
no test coverage detected