Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Commit

Permalink
news links open externally _blank #19
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Mar 26, 2020
1 parent ee1d329 commit 348884e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions R/app_server.R
Expand Up @@ -58,15 +58,6 @@ app_server <- function(input, output,session) {
news <- data$news
}

# correct
df <- df %>%
dplyr::mutate(
country = dplyr::case_when(
country == "Czech Republic" ~ "Czech Rep",
TRUE ~ country
)
)

# counts jhu
callModule(mod_count_server, "count_ui_1", df = df, type_filter = "confirmed")
callModule(mod_count_server, "count_ui_2", df = df, type_filter = "death")
Expand Down
1 change: 1 addition & 0 deletions R/mod_news.R
Expand Up @@ -61,6 +61,7 @@ mod_news_server <- function(input, output, session, df){
),
footer = tags$a(
class = "link external article-link",
target = "_blank",
article$source,
href = article$url
)
Expand Down

0 comments on commit 348884e

Please sign in to comment.