CentreForDigitalHumanities / CentreForDigitalHumanities/Textcavator

Corpus form: refresh available corpora after activating corpus

Open
#1,917 2 comments 0 reactions 1 assignee Claimed by @lukavdplas View on GitHub
bug corpus-form frontend
Dominant language
Python
Stars
12
Forks
3
Avg merge
3d 3m
Merged PRs (30d)
9

Description

When a user creates a corpus through the frontend form and activates it, it becomes available for them to search. But the frontend does not refresh the list of corpora available to the user so if go straight to the corpus, the interface claims that you are not authorised.

Solution: after activating/deactivating a corpus, re-request the list of corpora in the `CorpusService`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.