mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed removing of Remove button and faulty variable adminTogg
This commit is contained in:
@@ -42,12 +42,12 @@ io.on('connection', function(socket){
|
||||
if(name != "system.indexes")
|
||||
{
|
||||
db.collection(name).find({views:{$exists:true}}, function(err, conf){
|
||||
db.collection(name).count(function(err, num){
|
||||
db.collection(name).find({now_playing:true}, function(err, np){
|
||||
complete(np, i, colNames.length-2, name, num-1, conf);
|
||||
i++;
|
||||
db.collection(name).count(function(err, num){
|
||||
db.collection(name).find({now_playing:true}, function(err, np){
|
||||
complete(np, i, colNames.length-2, name, num-1, conf);
|
||||
i++;
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user