diff --git a/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js b/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js index fd6fd72f..b807241e 100644 --- a/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js +++ b/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js @@ -16,7 +16,7 @@ class CorpusDisplay extends RessourceDisplay { this.setNumTokens(corpus.num_tokens); } - patch(patch) { + usersPatchHandler(patch) { let filteredPatch; let operation; let re; @@ -33,12 +33,12 @@ class CorpusDisplay extends RessourceDisplay { } re = new RegExp(`^/users/${this.userId}/corpora/${this.corpusId}/num_tokens`); if (re.test(operation.path)) { - this.numTokens(operation.value); + this.setNumTokens(operation.value); break; } re = new RegExp(`^/users/${this.userId}/corpora/${this.corpusId}/status$`); if (re.test(operation.path)) { - this.status(operation.value); + this.setStatus(operation.value); break; } break; diff --git a/app/templates/services/corpus_analysis.html.j2 b/app/templates/services/corpus_analysis.html.j2 index 66d880fe..f89b46fc 100644 --- a/app/templates/services/corpus_analysis.html.j2 +++ b/app/templates/services/corpus_analysis.html.j2 @@ -22,7 +22,7 @@
Nopaque lets you create and upload as many text corpora as you want. It makes use of CQP Query Language, which allows for complex search requests with the aid of metadata and NLP tags. The results can either be displayed as text or abstract visualizations.
-- | - Title - Description - | -Status | +Title and Description | +Status |
---|
- Title and - Description - |
-
- Corpus and - Query - |
+ Title and Description | +Corpus and Query |
---|