Commit 46004ebc authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰 Committed by Tomek Mrugalski

[#164] SubnetsPageComponent now passing

parent 6761e4fd
......@@ -53,6 +53,8 @@ export class SubnetsPageComponent implements OnInit {
this.settingSvc.getSettings().subscribe((data) => {
this.grafanaUrl = data['grafana_url']
}, (error) => {
console.log(error)
})
// handle initial query params
......@@ -75,6 +77,8 @@ export class SubnetsPageComponent implements OnInit {
event = this.subnetsTable.createLazyLoadMetadata()
}
this.loadSubnets(event)
}, (error) => {
console.log(error)
})
}
......@@ -100,6 +104,8 @@ export class SubnetsPageComponent implements OnInit {
.subscribe((data) => {
this.subnets = data.items
this.totalSubnets = data.total
}, (error) => {
console.log(error)
})
}
......
Markdown is supported
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