Skip to content

Commit fcd7064

Browse files
committed
wip: Create a style editor #1073
wip: Create a style manager #1072
1 parent 871c288 commit fcd7064

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

map/client/components/styles/KStyleEditor.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ async function apply () {
237237
logger.debug('[KDK] Create style with values:', data)
238238
await service.create(data)
239239
} else {
240-
logger.debug(`[KDK] Patch style ${style._id} with values:`, data)
241-
await service.patch(style.value._id, data)
240+
logger.debug(`[KDK] Patch style ${model.value._id} with values:`, data)
241+
await service.patch(model.value._id, data)
242242
}
243243
emit('applied', data)
244244
return true

map/client/components/styles/KStyleManager.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ defineProps({
9696
})
9797
9898
// Data
99-
const { getSelectedFeaturesByLayer, CurrentActivity, CurrentActivityContext } = useCurrentActivity()
99+
const { getSelectedFeaturesByLayer, CurrentActivity } = useCurrentActivity()
100100
const styleEditor = ref(null)
101101
const style = ref(null)
102102
const viewMode = ref('list')

0 commit comments

Comments
 (0)