Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
f09e049b
Project 'bia/protocols' was moved to 'bia/icy/extensions/protocols'. Please update any links and bookmarks that may still have the old path.
Commit
f09e049b
authored
1 year ago
by
Simon Malesys
Browse files
Options
Downloads
Patches
Plain Diff
Auto scroll to the phenotypes table after ancestry selection
parent
efd35d96
No related branches found
No related tags found
1 merge request
!88
Update frontend
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/.eslintrc.js
+2
-1
2 additions, 1 deletion
client/.eslintrc.js
client/pages/gwas.vue
+11
-1
11 additions, 1 deletion
client/pages/gwas.vue
with
13 additions
and
2 deletions
client/.eslintrc.js
+
2
−
1
View file @
f09e049b
...
...
@@ -18,6 +18,7 @@ module.exports = {
// add your custom rules here
rules
:
{
"
no-unused-vars
"
:
"
off
"
,
'
no-console
'
:
'
off
'
'
no-console
'
:
'
off
'
,
'
vue/valid-v-slot
'
:
'
off
'
}
}
This diff is collapsed.
Click to expand it.
client/pages/gwas.vue
+
11
−
1
View file @
f09e049b
...
...
@@ -37,7 +37,7 @@
</div>
</section>
<section
v-show=
"phenotypes.length"
>
<section
id=
"phenotypes-section"
v-show=
"phenotypes.length"
>
<h2>
Select at least two GWASs to be analyzed jointly:
</h2>
<v-data-table
v-model=
"selectedRows"
...
...
@@ -101,6 +101,16 @@ export default {
.
then
(
phenotypes
=>
{
this
.
phenotypes
=
phenotypes
})
.
then
(()
=>
{
// Scroll to the phenotype table after it appeared
document
.
getElementById
(
"
phenotypes-section
"
)
.
scrollIntoView
({
behavior
:
'
smooth
'
,
block
:
'
start
'
,
inline
:
'
nearest
'
})
})
},
bulkSelect
({
item
:
b
,
value
})
{
const
{
selectedRows
,
current
,
shiftKeyOn
}
=
this
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment