Skip to content

Commit

Permalink
Show/hide export tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinw committed Jul 26, 2019
1 parent 5535f4a commit 5ce5ce7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions inst/shiny/qcoder/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (interactive()) {
dataTableOutput('code_freq')

),
tabPanel("Export Files",
tabPanel("Export files",
actionButton("zipfile", label = "Zip Project",
buttonType = "default, class = NULL"),
tags$p("Zip is located in the same folder as this app.")
Expand Down Expand Up @@ -122,7 +122,8 @@ if (interactive()) {
hideTab("navlist", "Coded data"),
hideTab("navlist", "Units"),
hideTab("navlist", "Summary"),
hideTab("navlist", "Add data")
hideTab("navlist", "Add data"),
hideTab("navlist", "Export files")
)
# Select the project directory
user_folder <- c('Select Volume' = Sys.getenv("HOME"))
Expand Down Expand Up @@ -173,7 +174,8 @@ if (interactive()) {
showTab("navlist", "Coded data"),
showTab("navlist", "Units"),
showTab("navlist", "Summary"),
showTab("navlist", "Add data")
showTab("navlist", "Add data"),
showTab("navlist", "Export files")
)

my_choices <- reactive({
Expand Down

0 comments on commit 5ce5ce7

Please sign in to comment.