IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Selaa lähdekoodia

WBProcessListing now displays only top level requests by default.

pull/1/head
Stanislaw Adaszewski 4 vuotta sitten
vanhempi
commit
e3c9e70177
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. +5
    -3
      frontend/src/js/component/wb-process-listing.js

+ 5
- 3
frontend/src/js/component/wb-process-listing.js Näytä tiedosto

@@ -59,12 +59,13 @@ class WBProcessListing extends Component {
requestingContainerUuid } = this.props;
const filters = [
[ 'state', 'in', requestStates.filter((_, idx) => reqStateMask[idx]) ]
[ 'state', 'in', requestStates.filter((_, idx) => reqStateMask[idx]) ],
[ 'requesting_container_uuid', '=', requestingContainerUuid ]
];
if (ownerUuid)
filters.push([ 'owner_uuid', '=', ownerUuid ]);
//if (requestingContainerUuid)
//filters.push([ 'requesting_container_uuid', '=', requestingContainerUuid ]);
//filters.push();
let prom = makeArvadosRequest(arvHost, arvToken,
'/arvados/v1/container_requests?filters=' + encodeURIComponent(JSON.stringify(filters)) +
@@ -150,7 +151,8 @@ class WBProcessListing extends Component {
WBProcessListing.defaultProps = {
'itemsPerPage': 100,
'ownerUuid': null
'ownerUuid': null,
'requestingContainerUuid': null
};
export default WBProcessListing;

Loading…
Peruuta
Tallenna