2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-10 03:52:25 +03:00

fix: ignore data when its not an object (fixes: #253, #279, #297)

This commit is contained in:
pimlie
2019-03-08 13:45:57 +01:00
committed by Alexander Lichter
parent 23c3380c90
commit 7615f4120c
3 changed files with 32 additions and 6 deletions
-1
View File
@@ -36,7 +36,6 @@ export default function getComponentOption(options = {}, result = {}) {
// ignore data if its not an object, then we keep our previous result
if (!isObject(data)) {
console.log(data)
return result
}