|
36 | 36 | </template>
|
37 | 37 | <!-- Feature properties rendering -->
|
38 | 38 | <template v-slot:default-body="prop">
|
39 |
| - <KView v-if="isFeaturePropertiesNode(prop.node)" |
| 39 | + <KView v-if="isFeaturePropertiesNode(prop.node)" |
40 | 40 | class="q-pa-md full-width"
|
41 | 41 | :values="prop.node"
|
42 | 42 | :schema="schema"
|
@@ -118,7 +118,7 @@ const layerActions = computed(() => {
|
118 | 118 | }, {
|
119 | 119 | id: 'reset-style-selected-features',
|
120 | 120 | label: 'KSelectedLayerFeatures.RESET_FEATURES_STYLE_LABEL',
|
121 |
| - icon: 'las la-paint-brush', |
| 121 | + icon: 'las la-ban', |
122 | 122 | handler: resetSelectedFeaturesStyle,
|
123 | 123 | visible: isLayerDataEditable(props.item.layer)
|
124 | 124 | }, {
|
@@ -164,7 +164,7 @@ const featureActions = computed(() => {
|
164 | 164 | }, {
|
165 | 165 | id: 'reset-style-selected-feature',
|
166 | 166 | label: 'KSelectedLayerFeatures.RESET_FEATURE_STYLE_LABEL',
|
167 |
| - icon: 'las la-paint-brush', |
| 167 | + icon: 'las la-ban', |
168 | 168 | handler: resetSelectedFeatureStyle,
|
169 | 169 | visible: isLayerDataEditable(props.item.layer)
|
170 | 170 | }, {
|
@@ -200,11 +200,11 @@ const root = computed(() => {
|
200 | 200 | label: getLabel(feature.properties)
|
201 | 201 | }, feature.properties)] // Properties only for node displaying it
|
202 | 202 | }, feature)) // Target feature is required as context for actions
|
203 |
| - // For each feature add a node containing |
| 203 | + // For each feature add a node containing |
204 | 204 | // Replace default layer actions with new ones
|
205 | 205 | return Object.assign({
|
206 | 206 | icon: getIcon(props.item.layer),
|
207 |
| - label: getLabel(props.item.layer), |
| 207 | + label: getLabel(props.item.layer) |
208 | 208 | }, _.omit(props.item.layer, ['icon', 'actions']), { actions: layerActions.value, children })
|
209 | 209 | })
|
210 | 210 |
|
|
0 commit comments