connection color change from statusbar

This commit is contained in:
Jan Prochazka
2021-12-05 10:34:52 +01:00
parent a4e967f37e
commit 5ca54220b5
6 changed files with 59 additions and 1 deletions

View File

@@ -162,6 +162,14 @@ module.exports = {
return res;
},
update_meta: 'post',
async update({ _id, values }) {
if (portalConnections) return;
const res = await this.datastore.update({ _id }, { $set: values });
socket.emitChanged('connection-list-changed');
return res;
},
delete_meta: 'post',
async delete(connection) {
if (portalConnections) return;