Tychobra/polishedpayments

Warning: Error in FUN: Expected an object with class 'shiny.tag'.

Closed this issue · 2 comments

Hi,

I appreciate the work you have done with polished payments.

I installed the most recent version a few minutes ago. An error occured when attempting to go to the billing page after running a shiny app successfully.

Error from the console:

<a id="account-go_to_shiny_app" href="#" class="action-button" style="margin-left: -15px; margin-top: -7.5px; color: #1a8dc7; font-size: 18px;">Go to Analytics</a>
Warning: Error in FUN: Expected an object with class 'shiny.tag'.
  69: ui

Thanks in advance for any assistance you can provide.

You need to redefine the left_menu in line 36+ in the app_module.R file to a tags$li object and specify class as 'dropdown':

left_menu = tags$li(class="dropdown",
shiny::actionLink(
ns("go_to_shiny_app"),
paste0("Go to ", app_name),
style = "margin-left: -15px; margin-top: -7.5px; color: #1a8dc7; font-size: 18px;"
)

This has finally been fixed: 1dfefe5

Thanks for providing the fix @socioskop !