2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-24 01:50:34 +03:00

fix: get keyAttribute _either_ from section or tag config

This commit is contained in:
pimlie
2021-05-23 17:33:34 +02:00
parent 3b3d3f4397
commit e551fe46fe
+1 -1
View File
@@ -176,7 +176,7 @@ export function renderTag (
} else { } else {
const { nameless } = config const { nameless } = config
if (!nameless) { if (!nameless) {
const keyAttribute = getTagConfig('keyAttribute') const keyAttribute = config.keyAttribute || getTagConfig('keyAttribute')
if (keyAttribute) { if (keyAttribute) {
attributes[keyAttribute] = fullName attributes[keyAttribute] = fullName
} }