fix error with this.

This commit is contained in:
Дмитрий Саенко 2025-10-23 14:38:45 +03:00
parent 56109965f4
commit 149ab52057

View file

@ -236,7 +236,7 @@
axios.get('/panel/api/servers/list')
.then(response => {
this.servers = response.data.obj;
this.servers = servers.map(s => {
this.servers = this.servers.map(s => {
s.status = 'Checking...';
return s;
});
@ -314,7 +314,7 @@
if (!secretWebPath.endsWith('/')) {
secretWebPath = secretWebPath + '/';
}
console.log(this.modal.server);
axios
.post(url, this.modal.server)
.then((response) => {