Skip to content
Snippets Groups Projects
Commit 72e58539 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

status update handling for corpus list

parent f356d4bb
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,8 @@ class RessourceList extends List { ...@@ -36,7 +36,8 @@ class RessourceList extends List {
item = this.get("id", pathArray[0])[0]; item = this.get("id", pathArray[0])[0];
switch(pathArray[1]) { switch(pathArray[1]) {
case "status": case "status":
item.values({status: operation.value}); item.values({status: operation.value,
"analyse-link": ["analysing", "prepared", "start analysis"].includes(operation.value) ? `/corpora/${pathArray[0]}/analyse` : ""});
break; break;
default: default:
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment