diff --git a/web/app/static/js/modules/corpus_analysis/view/listeners.js b/web/app/static/js/modules/corpus_analysis/view/listeners.js index 00ff8bc7..456f6bd1 100644 --- a/web/app/static/js/modules/corpus_analysis/view/listeners.js +++ b/web/app/static/js/modules/corpus_analysis/view/listeners.js @@ -40,6 +40,12 @@ function recieveClientNotification(eventType, resultsList) { break; case 'query-data-prepareing': console.info('View recieved notification:', caseIdentifier); + // Hide all download buttons + resultsList.fullResultsExport.classList.toggle('hide', true); + resultsList.subResultsExport.classList.toggle('hide', true); + // Show all create buttons + resultsList.fullResultsCreate.classList.toggle('hide', false); + resultsList.subResultsCreate.classList.toggle('hide', false); // execute callbacks disableElementsGeneralCallback(resultsList, event.detail); queryDataPreparingCallback(resultsList, event.detail);