fix: mongoose connect fix + allpages nav theming
This commit is contained in:
@@ -107,3 +107,16 @@ .collapsable-nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* THEME OVERRIDE - START */
|
||||||
|
|
||||||
|
@each $color, $colorvalue in $material-colors {
|
||||||
|
.is-primary-#{$color} .collapsable-nav {
|
||||||
|
&.has-children {
|
||||||
|
background-color: mc($color, '500');
|
||||||
|
border-left-color: mc($color, '700');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* THEME OVERRIDE - END */
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
"moment": "~2.18.1",
|
"moment": "~2.18.1",
|
||||||
"moment-timezone": "~0.5.13",
|
"moment-timezone": "~0.5.13",
|
||||||
"mongodb": "~2.2.30",
|
"mongodb": "~2.2.30",
|
||||||
"mongoose": "4.10.8",
|
"mongoose": "^4.11.1",
|
||||||
"multer": "~1.3.0",
|
"multer": "~1.3.0",
|
||||||
"node-2fa": "~1.1.2",
|
"node-2fa": "~1.1.2",
|
||||||
"node-graceful": "~0.2.3",
|
"node-graceful": "~0.2.3",
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ module.exports = {
|
|||||||
|
|
||||||
// Connect
|
// Connect
|
||||||
|
|
||||||
self.onReady = modb.connect(appconfig.db)
|
self.onReady = modb.connect(appconfig.db, { useMongoClient: true })
|
||||||
|
|
||||||
return self
|
return self
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user