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
父節點
當前提交
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;

Loading…
取消
儲存