Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yasset Perez
pride-web
Commits
ebb00c1f
Commit
ebb00c1f
authored
Sep 12, 2018
by
shabai517
Browse files
add key in the v-for loop
parent
5afc200a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
src/components/archive/Archive.vue
src/components/archive/Archive.vue
+1
-2
src/components/archive/Dataset.vue
src/components/archive/Dataset.vue
+1
-1
src/components/documentation/MarkdownPage.vue
src/components/documentation/MarkdownPage.vue
+1
-1
No files found.
src/components/archive/Archive.vue
View file @
ebb00c1f
...
...
@@ -121,7 +121,7 @@
<!--
<read-more
class=
"readMore"
more-str=
"(More)"
:text=
"publicationItem.projectDescription"
link=
"#"
less-str=
"Less"
:max-chars=
"200"
></read-more>
-->
</span>
<p><span
class=
"project-info"
>
{{
projectItemsPublicationDate
}}
:
</span><text-highlight
:queries=
"highlightKeyword"
:caseSensitive=
"HighlightKeywordSensitive"
>
{{
publicationItem
.
publicationDate
}}
</text-highlight></p>
<Dropdown
class=
"dataset-wrapper"
v-for=
"datesetItem in publicationItem.projectTags"
>
<Dropdown
class=
"dataset-wrapper"
v-for=
"
(
datesetItem
, index)
in publicationItem.projectTags"
:key=
"index"
>
<a
v-if=
"datesetItem == 'Biological'"
class=
"button biological-dataset-button"
href=
"javascript:void(0)"
>
<Icon
type=
"ios-pricetag"
></Icon>
<text-highlight
:queries=
"highlightKeyword"
:caseSensitive=
"HighlightKeywordSensitive"
>
{{
datesetItem
}}
</text-highlight>
Dataset
...
...
@@ -359,7 +359,6 @@
submissionType
:
projectsList
[
i
].
submissionType
,
hightlightItemArray
:[],
}
//console.log('projectsList[i].highlights',projectsList[i].highlights);
for
(
let
j
in
projectsList
[
i
].
highlights
){
let
content
=
''
;
...
...
src/components/archive/Dataset.vue
View file @
ebb00c1f
...
...
@@ -376,7 +376,7 @@
<Card
class=
"card"
v-if=
"similarProjects.length>0"
>
<p
slot=
"title"
><i
class=
"fas fa-link icon-tag"
></i>
Similar Studies
</p>
<div
class=
"list-wrapper"
>
<Card
class=
"similarity-card"
v-for=
"item in similarProjects"
>
<Card
class=
"similarity-card"
v-for=
"item in similarProjects"
:key=
"item.accession"
>
<div
class=
"similarity-title"
><a
@
click=
"gotoDetails(item.accession)"
>
{{
item
.
title
}}
</a></div>
<div><span>
{{
item
.
submissionDate
}}
</span></div>
</Card>
...
...
src/components/documentation/MarkdownPage.vue
View file @
ebb00c1f
...
...
@@ -5,7 +5,7 @@
<Affix
:offset-top=
"20"
>
<div
class=
"menu-wrapper"
>
<Menu
mode=
"vertical"
:active-name=
"activeName"
@
on-select=
"menuSlect"
>
<MenuItem
v-for=
"item in tableList"
:name=
"item.name"
>
<MenuItem
v-for=
"item in tableList"
:name=
"item.name"
:key=
"item.name"
>
<Icon
type=
"ios-paper"
></Icon>
{{
item
.
content
}}
</MenuItem>
</Menu>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment