diff --git a/src/components/ProtVista/index.js b/src/components/ProtVista/index.js index a0892d4ab..16552c6ef 100644 --- a/src/components/ProtVista/index.js +++ b/src/components/ProtVista/index.js @@ -465,7 +465,6 @@ export class ProtVista extends Component /*:: */ { if (dataDB.payload) { databases = dataDB.payload.databases; } - // const databases = dataDB.payload.databases; if (entry.source_database === 'mobidblt') return {entry.accession}; if (entry.type === 'residue') @@ -594,14 +593,12 @@ export class ProtVista extends Component /*:: */ { showConservationButton, children, showOptions = true, - label, } = this.props; if (!(length && data)) return ; const { hideCategory } = this.state; - const labelClass = label.name ? 'label-by-name' : ''; return (
*/ { className={f( 'aligned-to-track-component', 'view-options-wrap', - `${labelClass}`, )} > {showOptions && ( @@ -649,12 +645,7 @@ export class ProtVista extends Component /*:: */ { >
-
+
*/ {
-
+
*/ {
@@ -756,7 +739,6 @@ export class ProtVista extends Component /*:: */ { className={f( 'track-component', entry.type.replace('_', '-'), - `${labelClass}`, )} > {entry.type === @@ -816,12 +798,7 @@ export class ProtVista extends Component /*:: */ { )}
) : ( -
+
*/ { />
)} -
+
{this.renderLabels(entry)}
@@ -855,7 +827,7 @@ export class ProtVista extends Component /*:: */ { {showConservationButton ? (
-
+
) : null}
-
+