Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
anis-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
anis
anis-client
Commits
e517014c
Commit
e517014c
authored
4 years ago
by
Tifenn Guillas
Browse files
Options
Downloads
Plain Diff
Merge branch '104-add-scrolltotop' into 'develop'
Resolve "Add ScrollToTop" Closes
#104
See merge request
!114
parents
c2446847
a8c11939
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!147
Develop
,
!114
Resolve "Add ScrollToTop"
Pipeline
#2773
failed
4 years ago
Stage: install
Stage: test
Stage: sonar
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/documentation/containers/documentation.component.ts
+3
-1
3 additions, 1 deletion
src/app/documentation/containers/documentation.component.ts
with
3 additions
and
1 deletion
src/app/documentation/containers/documentation.component.ts
+
3
−
1
View file @
e517014c
...
...
@@ -8,6 +8,7 @@ import * as fromDocumentation from '../store/documentation.reducer';
import
*
as
documentationSelector
from
'
../store/documentation.selector
'
;
import
{
Dataset
,
Attribute
}
from
'
src/app/metamodel/model
'
;
import
{
environment
}
from
'
../../../environments/environment
'
;
import
{
ScrollTopService
}
from
"
../../shared/service/sroll-top.service
"
;
@
Component
({
selector
:
'
app-documentation
'
,
...
...
@@ -23,7 +24,7 @@ export class DocumentationComponent implements OnInit {
public
attributeListIsLoaded
:
Observable
<
boolean
>
;
public
attributeList
:
Observable
<
Attribute
[]
>
;
constructor
(
private
store
:
Store
<
{
documentation
:
fromDocumentation
.
State
}
>
)
{
constructor
(
private
store
:
Store
<
{
documentation
:
fromDocumentation
.
State
}
>
,
private
scrollTopService
:
ScrollTopService
)
{
this
.
datasetListIsLoading
=
store
.
select
(
documentationSelector
.
getDatasetListIsLoading
);
this
.
datasetListIsLoaded
=
store
.
select
(
documentationSelector
.
getDatasetListIsLoaded
);
this
.
datasetList
=
store
.
select
(
documentationSelector
.
getDatasetList
);
...
...
@@ -34,6 +35,7 @@ export class DocumentationComponent implements OnInit {
ngOnInit
()
{
this
.
store
.
dispatch
(
new
documentationActions
.
RetrieveDatasetList
());
this
.
scrollTopService
.
setScrollTop
();
}
getDatasetAttributes
(
dataset
:
Dataset
,
attributeList
:
Attribute
[]):
Attribute
[]
{
...
...
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