[SSE mobile] Corrected add function
This commit is contained in:
parent
537f007461
commit
75fdffe6a9
|
@ -68,7 +68,8 @@ const AddFunction = props => {
|
||||||
{caption: 'MAX', type: 'MAX'},
|
{caption: 'MAX', type: 'MAX'},
|
||||||
{caption: 'COUNT', type: 'COUNT'}
|
{caption: 'COUNT', type: 'COUNT'}
|
||||||
];
|
];
|
||||||
if (functions) {
|
|
||||||
|
if (Object.keys(functions).length) {
|
||||||
quickFunctions.forEach((quickFunction) => {
|
quickFunctions.forEach((quickFunction) => {
|
||||||
const f = functions[quickFunction.type];
|
const f = functions[quickFunction.type];
|
||||||
quickFunction.caption = f.caption;
|
quickFunction.caption = f.caption;
|
||||||
|
|
Loading…
Reference in a new issue