Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Stephan Porada committed 2020-04-16 13:49:24 +02:00
commit fe26c56344
4 files changed
+28 -28

No files matched your search

+2 -1
View File
@@ -36,7 +36,8 @@ class RessourceList extends List {
item = this.get("id", pathArray[0])[0];
switch(pathArray[1]) {
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;
default:
break;