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!
Просмотр исходного кода

WBProcessListing now displays only top level requests by default.

pull/1/head
Stanislaw Adaszewski 4 лет назад
Родитель
Сommit
e3c9e70177
1 измененных файлов: 5 добавлений и 3 удалений
  1. +5
    -3
      frontend/src/js/component/wb-process-listing.js

+ 5
- 3
frontend/src/js/component/wb-process-listing.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить