combine mesh views into one and now pulls from db instead of local_settings

This commit is contained in:
wh1te909
2020-06-30 08:05:19 +00:00
parent 22b65ca06d
commit 62f8e7acc8
7 changed files with 61 additions and 57 deletions

View File

@@ -578,14 +578,14 @@ export default {
webRDP(pk) {
this.$q.loading.show();
this.$axios
.get(`/agents/${pk}/webrdp/`)
.get(`/agents/${pk}/meshcentral/`)
.then(r => {
this.$q.loading.hide();
openURL(r.data);
openURL(r.data.webrdp);
})
.catch(() => {
.catch(e => {
this.$q.loading.hide();
this.notifyError("Something went wrong");
this.notifyError(e.response.data);
});
}
},