diff --git a/lib/assets/data_transform_cell/main.js b/lib/assets/data_transform_cell/main.js index e7cd7ab..8116d6c 100644 --- a/lib/assets/data_transform_cell/main.js +++ b/lib/assets/data_transform_cell/main.js @@ -753,15 +753,13 @@ export async function init(ctx, payload) { return data_options ? Object.keys(data_options) : []; }, dataFrameColumnsWithTypes(data_options) { - const notAllowedTypes = ["list"] + const notAllowedTypes = ["list"]; const dataOptions = Object.fromEntries( - Object.entries(data_options).filter(([col, type]) => - !notAllowedTypes.includes(type) + Object.entries(data_options).filter( + ([col, type]) => !notAllowedTypes.includes(type) ) ); - const dataFrameColumns = dataOptions - ? Object.entries(dataOptions) - : {}; + const dataFrameColumns = dataOptions ? Object.entries(dataOptions) : {}; const columns = Array.from(dataFrameColumns, ([name, type]) => { return { label: `${name} (${type})`, value: name }; });