Skip to content
Snippets Groups Projects
Commit 70ac9382 authored by Administrator's avatar Administrator
Browse files

nombre datastets

parent 1daa167e
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......@@ -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);
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment