Commit 3f734254 authored by dbulatovicx32's avatar dbulatovicx32
Browse files

removed logs

parent f19eb7d5
<template>
'SHJOULD HIDE: '{{ isGeographicBm }}
<DataTable :value="businessModel.calculatedBusinessColumns" class="p-datatable-sm kn-table p-ml-2" responsiveLayout="stack" breakpoint="960px">
<template #empty>
{{ $t('common.info.noDataFound') }}
......@@ -96,7 +95,6 @@ export default defineComponent({
this.loadMeta()
this.loadBusinessModel()
this.calcFieldFunctions = this.createCalcFieldFunctions(calcFieldDescriptor.availableFunctions, this.propCustomFunctions)
console.log('WATCHER', this.calcFieldFunctions)
}
},
created() {
......@@ -203,21 +201,15 @@ export default defineComponent({
let functions = deepcopy(providedFunctions)
if (customFunctions) {
console.log('I HAVE CUSTOM FUNCT')
customFunctions.forEach((funct) => {
functions.push(funct)
})
}
if (this.isGeographicBm) {
console.log('SHOW SPATIALS', this.isGeographicBm)
} else {
if (!this.isGeographicBm) {
let tempFunctions = deepcopy(functions)
console.log('HIDE SPATIALS')
functions = tempFunctions.filter((funct) => {
console.log(funct.category)
return funct.category !== 'SPATIAL'
})
console.log(functions)
}
return functions
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment