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!
Kaynağa Gözat

WBProcessListing now displays only top level requests by default.

master
Stanislaw Adaszewski 4 yıl önce
ebeveyn
işleme
e3c9e70177
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. +5
    -3
      frontend/src/js/component/wb-process-listing.js

+ 5
- 3
frontend/src/js/component/wb-process-listing.js Dosyayı Görüntüle

@@ -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;

Yükleniyor…
İptal
Kaydet