cleanup + fixes
This commit is contained in:
@@ -119,6 +119,8 @@ function initSettingDropdown(settingKey, targetLocation)
|
|||||||
|
|
||||||
setVal = getSetting(settingKey)
|
setVal = getSetting(settingKey)
|
||||||
|
|
||||||
|
console.log(setVal);
|
||||||
|
|
||||||
// check if the result is a SQL query
|
// check if the result is a SQL query
|
||||||
if(isSQLQuery(setVal))
|
if(isSQLQuery(setVal))
|
||||||
{
|
{
|
||||||
@@ -130,7 +132,7 @@ function initSettingDropdown(settingKey, targetLocation)
|
|||||||
} else // this should be already an array, e.g. from a setting or pre-defined
|
} else // this should be already an array, e.g. from a setting or pre-defined
|
||||||
{
|
{
|
||||||
options = createArray(setVal);
|
options = createArray(setVal);
|
||||||
values = createArray(set['Value']);
|
values = createArray(setVal);
|
||||||
|
|
||||||
|
|
||||||
options.forEach(option => {
|
options.forEach(option => {
|
||||||
|
|||||||
Reference in New Issue
Block a user