Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KnowageLabs
Knowage-Server
Commits
3f734254
Commit
3f734254
authored
May 26, 2022
by
dbulatovicx32
Browse files
removed logs
parent
f19eb7d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
knowage-vue/src/modules/managers/businessModelCatalogue/metaweb/businessModel/tabs/calculatedField/MetawebCalculatedField.vue
View file @
3f734254
<
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment