mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
status update handling for corpus list
This commit is contained in:
parent
f356d4bb89
commit
72e585395b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user