MCPcopy Create free account
hub / github.com/Rello/analytics / update

Function update

js/jsonPicker.js:62–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 previewButton.disabled = true;
61 const active = () => document.getElementById('analyticsDialogContainer') === dialog;
62 const update = () => {
63 revision++;
64 previewController?.abort();
65 extractionPath = rowPath === null ? selected.join(',')
66 : (selected.length ? rowPath + '{' + selected.join(',') + '}' : '');
67 pathDisplay.textContent = extractionPath;
68 apply.disabled = !extractionPath;
69 previewButton.disabled = !extractionPath;
70 preview.replaceChildren();
71 status.textContent = '';
72 };
73 const request = async (url, payload, signal) => {
74 const response = await fetch(OC.generateUrl(url), {
75 method: 'POST', headers: OCA.Analytics.headers(), signal,

Callers 4

chooseFunction · 0.70
renderFunction · 0.70
showFieldsFunction · 0.70
jsonPicker.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected