Skip to content

Commit

Permalink
Update organ_info_tabpanel.R
Browse files Browse the repository at this point in the history
  • Loading branch information
AKostiv8 committed Nov 15, 2024
1 parent ba7bb67 commit baf52f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/view/components/organ_info_tabpanel.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ui <- function(id) {
tags$a(
href=paste0("#tab-", constants$ORGAN_TAB[[x]]$tab_url, "-", x),
onclick = JS(
helpers$TAB_ELEMENT_SELECTED(ns("active-tab"), constants$ORGAN_TAB[[x]]$tab_url)
helpers$TAB_ELEMENT_SELECTED(ns("active_tab"), constants$ORGAN_TAB[[x]]$tab_url)
),
`data-toggle`="tab",
`data-bs-toggle`="tab",
Expand Down Expand Up @@ -99,7 +99,7 @@ server <- function(id) {
observeEvent(input$active_tab, {
message("Active tab: ")
print(input$active_tab)
}, ignoreNULL = "TRUE")
}, ignoreNULL = FALSE)

})
}

0 comments on commit baf52f6

Please sign in to comment.