Skip to content

Commit 5a75e0c

Browse files
authored
Merge pull request #66 from DrewLazzeriKitware/rename-property
fix(PropertyPanel): Rename internal variables to match doc / model
2 parents 7c31f66 + ec01c9b commit 5a75e0c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/components/core/PropertyPanel/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
PropertyFactory,
1414
},
1515
props: {
16-
input: {
16+
panelAttributes: {
1717
required: true,
1818
},
1919
viewData: {

src/components/core/PropertyPanel/template.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
>
55
<v-layout row wrap>
66
<v-flex
7-
v-for="property in input"
8-
:key="property.title"
7+
v-for="attribute in panelAttributes"
8+
:key="attribute.title"
99
xs12
1010
>
11-
<div :style="{ display: getPropertyDisplay(property) }">
11+
<div :style="{ display: getPropertyDisplay(attribute) }">
1212
<v-card>
13-
<v-card-title :class="$style.propertyHeader">{{ property.title }}</v-card-title>
13+
<v-card-title :class="$style.propertyHeader">{{ attribute.title }}</v-card-title>
1414
<v-card-text>
15-
<template v-for="(content, i) in property.contents">
15+
<template v-for="(parameter, i) in attribute.contents">
1616
<property-factory
1717
:key="i"
18-
:prop="content"
18+
:prop="parameter"
1919
:viewData="viewData"
2020
@change="updateViewData"
2121
/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<v-container fluid :class="$style.container">
22
<property-panel
3-
:input="panelData"
3+
:panelAttributes="panelData"
44
:viewData="viewData"
55
/>
66
</v-container>

0 commit comments

Comments
 (0)