Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CD-CODE Web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
CD-CODE team
CD-CODE Web
Commits
c68ee659
Commit
c68ee659
authored
2 years ago
by
moon
Browse files
Options
Downloads
Patches
Plain Diff
Added field list for fetchAllCondensates.vue
parent
10742cf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/src/components/DDCODE/fetchAllCondensates.vue
+2
-6
2 additions, 6 deletions
web/src/components/DDCODE/fetchAllCondensates.vue
web/src/components/js/const.js
+4
-4
4 additions, 4 deletions
web/src/components/js/const.js
with
6 additions
and
10 deletions
web/src/components/DDCODE/fetchAllCondensates.vue
+
2
−
6
View file @
c68ee659
...
...
@@ -42,15 +42,11 @@ export default {
// console.log(vm.isExperimental)
let
url
;
if
(
vm
.
isExperimental
===
'
null
'
){
url
=
`
${
host
}
/condensates?size=100000`
;
url
=
`
${
host
}
/condensates?
fields=biomarkers,canonical_id,description,is_experimental,name,protein_count,proteins,species_name,species_tax_id,synonyms,confidence_score&
size=100000`
;
}
else
{
url
=
`
${
host
}
/condensates?size=100000&is_experimental=
${
vm
.
isExperimental
}
`
;
url
=
`
${
host
}
/condensates?
fields=biomarkers,canonical_id,description,is_experimental,name,protein_count,proteins,species_name,species_tax_id,synonyms,confidence_score&
size=100000&is_experimental=
${
vm
.
isExperimental
}
`
;
}
fetch
(
url
,
{
method
:
'
GET
'
,
mode
:
'
cors
'
,
...
...
This diff is collapsed.
Click to expand it.
web/src/components/js/const.js
+
4
−
4
View file @
c68ee659
...
...
@@ -3,10 +3,10 @@ export const devHost = '/api';
export
const
apiHost
=
'
/cms
'
;
export
const
devApiHost
=
'
/cms
'
;
//
export const devHost = 'https://dev.ddcode.org/api';
//
export const devHost = 'http://localhost:5001';
//
export const apiHost = 'http://localhost:1337';
//
export const devApiHost = 'http://localhost:1337';
// export const devHost = 'https://dev.ddcode.org/api';
// export const devHost = 'http://localhost:5001';
// export const apiHost = 'http://localhost:1337';
// export const devApiHost = 'http://localhost:1337';
// apikey should be give here:
export
const
apikey
=
process
.
env
.
VUE_APP_API_KEY
;
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