diff --git a/src/Client/Modals/SelectiveImportModal.fs b/src/Client/Modals/SelectiveImportModal.fs index 609ef5cc..99d73a44 100644 --- a/src/Client/Modals/SelectiveImportModal.fs +++ b/src/Client/Modals/SelectiveImportModal.fs @@ -79,9 +79,9 @@ type SelectiveImportModal = prop.className "overflow-x-auto" prop.children [ if isActive then - ModalElements.TableWithImportColumnCheckboxes(table0, selectedColumns, setSelectedColumns) + SelectiveTemplateFromDBModal.TableWithImportColumnCheckboxes(table0, selectedColumns, setSelectedColumns) else - ModalElements.TableWithImportColumnCheckboxes(table0) + SelectiveTemplateFromDBModal.TableWithImportColumnCheckboxes(table0) ] ] ] diff --git a/src/Client/Modals/SelectiveTemplateFromDB.fs b/src/Client/Modals/SelectiveTemplateFromDB.fs index f12429e2..1baf811d 100644 --- a/src/Client/Modals/SelectiveTemplateFromDB.fs +++ b/src/Client/Modals/SelectiveTemplateFromDB.fs @@ -61,7 +61,7 @@ type SelectiveTemplateFromDBModal = prop.className "join flex flex-row centered gap-2" prop.children [ if displayCheckBox then - SelectiveTemplateFromDBModal.checkBox(columns, i, selectionInformation.Value, setSelectedColumns.Value) + SelectiveTemplateFromDBModal.CheckBoxForTableColumnSelection(columns, i, selectionInformation.Value, setSelectedColumns.Value) Html.text (columns.[i].Header.ToString()) Html.div [ prop.onClick (fun e -> @@ -106,7 +106,7 @@ type SelectiveTemplateFromDBModal = Html.i [prop.className "fa-solid fa-cog"] Html.span $"Template: {model.ProtocolState.TemplateSelected.Value.Name}" if model.ProtocolState.TemplateSelected.IsSome then - ModalElements.TableWithImportColumnCheckboxes(model.ProtocolState.TemplateSelected.Value.Table, selectionInformation, setSelectedColumns) + SelectiveTemplateFromDBModal.TableWithImportColumnCheckboxes(model.ProtocolState.TemplateSelected.Value.Table, selectionInformation, setSelectedColumns) ] ]