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!
Bladeren bron

Removed filtering by container state.

master
Stanislaw Adaszewski 4 jaren geleden
bovenliggende
commit
938a73692d
1 gewijzigde bestanden met toevoegingen van 6 en 9 verwijderingen
  1. +6
    -9
      frontend/src/js/component/wb-process-listing.js

+ 6
- 9
frontend/src/js/component/wb-process-listing.js Bestand weergeven

@@ -15,9 +15,9 @@ class WBProcessListing extends Component {
this.state.rows = [];
this.state.numPages = 0;
this.state.requestStates = [ 'Uncommitted', 'Committed', 'Final' ];
this.state.containerStates = [ 'Queued', 'Locked', 'Running', 'Cancelled', 'Complete' ];
// this.state.containerStates = [ 'Queued', 'Locked', 'Running', 'Cancelled', 'Complete' ];
this.state.reqStateMask = [ true, true, true ];
this.state.contStateMask = [ true, true, true, true, true ];
// this.state.contStateMask = [ true, true, true, true, true ];
}
componentDidMount() {
@@ -43,12 +43,12 @@ class WBProcessListing extends Component {
<div>{ item['uuid'] }</div>
</div>),
( <div>
{ item['state'] } /
{ item['state'] }
{ item.container_uuid ?
container ?
container.state :
"Container Not Found" :
<i>{ String(item.container_uuid) }</i> }
[ " / ", container.state ] :
[ " / ", <i>Container Not Found</i> ] :
null }
{ !(error || warning) && container && container.state === 'Complete' ? " / Success" : null }
{ error ? [" / ", <a href={ '/container/' + container.uuid }
title={ error }>E</a> ] : null }
@@ -148,9 +148,6 @@ class WBProcessListing extends Component {
<WBCheckboxes items={ requestStates } checked={ reqStateMask }
cssClass="float-left mx-2 my-2" title="Request State: "
onChange={ () => this.fetchItems() } />
<WBCheckboxes items={ containerStates } checked={ contStateMask }
cssClass="float-left mx-2 my-2" title="Container State: "
onChange={ () => this.fetchItems() } />
<WBTable columns={ [ 'Name', 'Status', 'Owner', 'Created At', 'Output', 'Actions' ] }
rows={ rows } />


Laden…
Annuleren
Opslaan