Skip to content

Commit

Permalink
Implemented review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Etschbeijer committed Dec 3, 2024
1 parent 849b155 commit 869ade6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Client/Modals/SelectiveImportModal.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
]
]
]
Expand Down
4 changes: 2 additions & 2 deletions src/Client/Modals/SelectiveTemplateFromDB.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down Expand Up @@ -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)
]
]

Expand Down

0 comments on commit 869ade6

Please sign in to comment.