Browse Source

correct spelling errors

pull/80/head
cKey 5 years ago
parent
commit
c6670682a4
  1. 8
      vueJs/src/views/admin/components/FeatureManagement.vue

8
vueJs/src/views/admin/components/FeatureManagement.vue

@ -246,7 +246,7 @@ export default class extends Vue {
FeatureManagementService.getFeatures(this.providerName, this.providerKey).then(res => {
this.features = new FeatureItems()
res.features.forEach(feature => {
const featureTrue = new FeatureItem(
const featureItem = new FeatureItem(
feature.name,
feature.value,
feature.displayName,
@ -257,12 +257,12 @@ export default class extends Vue {
if (feature.parentName) {
const children = this.features.features.find(f => f.name === feature.parentName)
if (children) {
children.appendChildren(featureTrue)
children.appendChildren(featureItem)
} else {
this.features.features.push(featureTrue)
this.features.features.push(featureItem)
}
} else {
this.features.features.push(featureTrue)
this.features.features.push(featureItem)
}
})
// ?

Loading…
Cancel
Save