Fix record listings?

This commit is contained in:
Tyler 2018-07-31 23:37:39 -04:00
parent 1b24bdddda
commit 0d03efe998
1 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,11 @@
]
};
axios.get('/records')
.then((response) => {
data.items = response.data;
});
export default {
name: 'DNS',
props: ['base'],
@ -94,7 +99,7 @@
domain: this.name,
ip: this.value
}).then(() => {
return axios.get('/info');
return axios.get('/records');
}).then((response) => {
data.items = response.data;
});