Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dad
FFDS-register-front
Commits
70ac9382
Commit
70ac9382
authored
Sep 15, 2020
by
Administrator
Browse files
nombre datastets
parent
1daa167e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/datasets/datasets.component.html
View file @
70ac9382
...
...
@@ -5,6 +5,6 @@
<div>
<button
type=
"submit"
(click)=
"listdatasets()"
class=
"btn btn-primary"
>
List datasets
</button>
</div>
<p>
{{dataresult}}
</p>
<p>
<strong>
{{dataresult}}
</
strong></
p>
</form>
src/app/datasets/datasets.component.ts
View file @
70ac9382
...
...
@@ -39,8 +39,8 @@ export class DatasetsComponent implements OnInit {
.
then
(
response
=>
{
response
.
json
()
.
then
(
data
=>
{
this
.
dataresult
=
JSON
.
stringify
(
data
);
return
this
.
dataresult
[
"
status
"
]
;
this
.
dataresult
=
'
Total des datasets trouvés:
'
+
JSON
.
stringify
(
data
[
'
data
'
][
'
total_count
'
]);
;
// console.log(this.dataresult);
});
...
...
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