During adding server mark it as a local

This commit is contained in:
ziajka 2019-03-07 11:32:12 +01:00
parent b82b883f06
commit 1f3e59cdbe

View File

@ -70,6 +70,7 @@ export class ServerService {
server.name = 'local'; server.name = 'local';
server.host = host; server.host = host;
server.port = port; server.port = port;
server.location = 'local';
server.is_local = true; server.is_local = true;
this.create(server).then(created => { this.create(server).then(created => {
resolve(created); resolve(created);