export const convertActionToTreeViewItem = (operations) => {
    const treeData = [];
    if (!operations) {
        return treeData;
    }
    operations.forEach(operation => {
        const importCategoryTreeItem = {
            id: operation.id,
            caption: `${operation.name}`,
            expanded: true,
            leaf: true,
            checkbox: true
        };
        treeData.push(importCategoryTreeItem);
    });
    return treeData;
};
//# sourceMappingURL=helpers.js.map
