export const changesetToComboBoxModel = (changesetModel) => {
    if (!changesetModel)
        return [];
    return changesetModel.map(changeset => ({
        value: changeset.id,
        caption: changeset.name === "All"
            ? "All Changesets"
            : changeset.label || changeset.name || ""
    }));
};
//# sourceMappingURL=changeset-to-combo-box.js.map
