mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 23:35:59 +00:00
connection color change from statusbar
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user