| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -22,18 +22,14 @@ class WBCommonFields extends Component { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    let { uuid, app } = this.props;
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    let { arvHost, arvToken } = app.state;
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const filters = [
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ['uuid', '=', uuid]
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    ];
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const typeName = arvadosTypeName(uuid);
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    let prom = makeArvadosRequest(arvHost, arvToken,
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      '/arvados/v1/' + arvadosTypeName(uuid) +
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      's?filters=' + encodeURIComponent(JSON.stringify(filters)));
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      '/arvados/v1/' + typeName + 's/' +
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      encodeURIComponent(uuid));
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    prom = prom.then(xhr => {
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      const item = xhr.response.items[0];
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      if (!item)
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        throw Error('Item not found');
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      const item = xhr.response;
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      let rows = [
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'UUID', item.uuid ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'Kind', item.kind ],
 | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -43,14 +39,14 @@ class WBCommonFields extends Component { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'Created at', wbFormatDate(item.created_at) ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'Modified at', wbFormatDate(item.modified_at) ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'Modified by User', (
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          <WBNameAndUuid app={ app } uuid={ item.modified_by_user_uuid } />
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          item.modified_by_user_uuid ? (<WBNameAndUuid app={ app } uuid={ item.modified_by_user_uuid } />) : '-'
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        ) ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'Modified by Client', (
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          <WBNameAndUuid app={ app } uuid={ item.modified_by_client_uuid } />
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          item.modified_by_client_uuid ? (<WBNameAndUuid app={ app } uuid={ item.modified_by_client_uuid } />) : '-'
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        ) ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'API Url', (
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          <a href={ 'https://' + app.state.arvHost + '/arvados/v1' + item.href }>
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            { 'https://' + app.state.arvHost + '/arvados/v1' + item.href }
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          <a href={ 'https://' + app.state.arvHost + '/arvados/v1/' + typeName + 's/' + uuid }>
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            { 'https://' + app.state.arvHost + '/arvados/v1/' + typeName + 's/' + uuid }
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          </a>
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        ) ],
 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        [ 'ETag', item.etag ]
 | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |