vuetify eingebunden + erster Versuch Combobox

This commit is contained in:
2019-04-17 15:58:15 +02:00
parent 24642ca1a8
commit 56f4a3f940
1846 changed files with 219701 additions and 53848 deletions
+6 -4
View File
@@ -13,15 +13,15 @@ const util = require('util');
* @inherits MongooseError
*/
function DocumentNotFoundError(query) {
function DocumentNotFoundError(filter) {
let msg;
const messages = MongooseError.messages;
if (messages.DocumentNotFoundError != null) {
msg = typeof messages.DocumentNotFoundError === 'function' ?
messages.DocumentNotFoundError(query) :
messages.DocumentNotFoundError(filter) :
messages.DocumentNotFoundError;
} else {
msg = 'No document found for query "' + util.inspect(query) + '"';
msg = 'No document found for query "' + util.inspect(filter) + '"';
}
MongooseError.call(this, msg);
@@ -33,7 +33,9 @@ function DocumentNotFoundError(query) {
this.stack = new Error().stack;
}
this.query = query;
this.filter = filter;
// Backwards compat
this.query = filter;
}
/*!