Skip to content
Snippets Groups Projects
Commit 67bbb2e5 authored by raghosh's avatar raghosh
Browse files

#34: removed the evidance star from condensate table and added species column....

#34: removed the evidance star from condensate table and added species column. Fixed the marker issue and added search bar to search for a protein from list of protein.
parent dff12f91
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
<div class="overflow-auto h-60">
<div
class="checkbox"
v-for="(item, index) in filterSearch"
v-for="(item, index) in filteredAddSearch"
:key="index"
>
<input
......@@ -116,9 +116,18 @@
<div class="col-sm-10">
<div class="panel panel-default">
<div class="panel-body">
<div
<input
class="form-control"
id="pubId"
type="text"
v-model.trim="search"
placeholder="Uniprot ID"
/>
<div class="overflow-auto h-60">
<div
class="checkbox"
v-for="(item, index) in markerData"
v-for="(item, index) in filteredDeleteSearch"
:key="index"
>
<input
......@@ -132,6 +141,8 @@
{{ item }}
</label>
</div>
</div>
</div>
</div>
<p
......@@ -248,8 +259,11 @@ export default {
jwt: function () {
return this.$store.getters["User/jwt"];
},
filterSearch(){
return this.uniprotIds.filter(f=>f===this.search)
filteredAddSearch(){
return this.uniprotIds.filter(f=>f.includes(this.search))
},
filteredDeleteSearch(){
return this.markerData.filter(f=>f.includes(this.search))
}
},
......@@ -385,6 +399,7 @@ export default {
});
this.uniprotIds = a;
},
};
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment