This commit is contained in:
Jan Prochazka 2022-02-14 19:42:23 +01:00
parent e84b76e4d1
commit 84b546db70

View File

@ -77,6 +77,7 @@
}
function isOnCurrentDb(currentDb, connections) {
if (!currentDb || !connections) return false;
const conn = connections.find(x => x._id == currentDb?.connection?._id);
const db = conn?.databases?.find(x => x.name == currentDb?.name);
return db && db[`useApp:${data.name}`];