Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Genesys Website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Website
Commits
e8557b52
Commit
e8557b52
authored
Oct 22, 2020
by
Oleksii Savran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: DivTree: Accession list
parent
4d5578e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
workspaces/client/src/service/genesys/DiversityTreeService.ts
...spaces/client/src/service/genesys/DiversityTreeService.ts
+5
-1
No files found.
workspaces/client/src/service/genesys/DiversityTreeService.ts
View file @
e8557b52
...
@@ -11,6 +11,7 @@ import Page, { IPageRequest } from '@genesys/client/model/Page';
...
@@ -11,6 +11,7 @@ import Page, { IPageRequest } from '@genesys/client/model/Page';
import
OpResponse
from
'
@genesys/client/model/OpResponse
'
;
import
OpResponse
from
'
@genesys/client/model/OpResponse
'
;
import
DiversityTreeCreator
from
'
@genesys/client/model/DiversityTreeCreator
'
;
import
DiversityTreeCreator
from
'
@genesys/client/model/DiversityTreeCreator
'
;
import
RepositoryFile
from
'
@genesys/client/model/repository/RepositoryFile
'
;
import
RepositoryFile
from
'
@genesys/client/model/repository/RepositoryFile
'
;
import
{
dereferenceReferences2
}
from
'
@genesys/client/utilities
'
;
const
URL_CREATE
=
`/api/v1/div-tree`
;
const
URL_CREATE
=
`/api/v1/div-tree`
;
const
URL_UPDATE
=
`/api/v1/div-tree`
;
const
URL_UPDATE
=
`/api/v1/div-tree`
;
...
@@ -109,7 +110,10 @@ class DiversityTreeService {
...
@@ -109,7 +110,10 @@ class DiversityTreeService {
url
:
apiUrl
,
url
:
apiUrl
,
method
:
'
GET
'
,
method
:
'
GET
'
,
...
content
,
...
content
,
}).
then
(({
data
})
=>
data
as
Page
<
DiversityTreeAccessionRef
>
);
}).
then
(({
data
})
=>
{
dereferenceReferences2
(
data
.
content
,
DiversityTreeAccessionRef
.
DEREFERENCES
);
return
data
as
Page
<
DiversityTreeAccessionRef
>
;
});
}
}
/**
/**
...
...
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