Skip to content

Commit

Permalink
don't use regular save prompt for define alternatives tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Carvalho committed Jan 7, 2025
1 parent c60ee9d commit bd5f7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/ShinyFiles/MainApp/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ server = function(input, output, session) {
)

observeEvent(input$tabs, {
if(!(tab_tracker$previous %in% c("Background", "Upload Data", "Map Viewer", "Bookmark Choices"))){
if(!(tab_tracker$previous %in% c("Background", "Upload Data", "Map Viewer", "Bookmark Choices", "Define Alternative Fishing Choices"))){
shinyWidgets::confirmSweetAlert(
inputId = "changeTabSave",
text = paste0("Would you like to save changes to your project database before moving on to the next tab?"),
Expand Down

0 comments on commit bd5f7f6

Please sign in to comment.