Skip to content
Snippets Groups Projects
Commit 57841f66 authored by David Mendez's avatar David Mendez
Browse files

Target Classifications: make component standalone

parent 03a833a6
No related branches found
No related tags found
1 merge request!37Target Classifications: make component standalone and remove duplicate classifications
...@@ -63,6 +63,8 @@ ...@@ -63,6 +63,8 @@
:protein-classifications=" :protein-classifications="
nameAndClassificationData._metadata.protein_classification nameAndClassificationData._metadata.protein_classification
" "
:item-i-d="itemID"
:entity-i-d="entityID"
/> />
</div> </div>
</v-col> </v-col>
......
...@@ -6,19 +6,28 @@ ...@@ -6,19 +6,28 @@
</template> </template>
<template v-if="!loading && thereAreAccessions"> <template v-if="!loading && thereAreAccessions">
<v-card-text> <v-card-text>
<v-btn <v-row>
v-for="accession in uniProtAccessions" <v-col
:key="accession" v-for="accession in uniProtAccessions"
depressed :key="accession"
color="primary" cols="6"
:href="`https://www.uniprot.org/uniprot/${accession}`" sm="3"
target="_blank" lg="2"
class="a-button" >
> <div class="d-flex justify-center align-center">
{{ accession }} <v-btn
depressed
color="primary"
:href="`https://www.uniprot.org/uniprot/${accession}`"
target="_blank"
>
{{ accession }}
<v-icon> mdi-open-in-new </v-icon> <v-icon> mdi-open-in-new </v-icon>
</v-btn> </v-btn>
</div>
</v-col>
</v-row>
</v-card-text> </v-card-text>
</template> </template>
</v-card> </v-card>
...@@ -95,8 +104,4 @@ export default { ...@@ -95,8 +104,4 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
.a-button {
margin-right: 5px;
}
</style>
Subproject commit 35d960ddb1ba11b49ce4becc53ce7651770e54b3 Subproject commit 90d092e3a4d86cffc1c80164cea2129f6474b407
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment