Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -136,7 +136,7 @@ build_pitcher_table <- function(lb, min_pitches, portal_only) {
|
|
| 136 |
'" data-throws="', gsub('"', '"', ifelse(is.na(Throws), "", Throws)),
|
| 137 |
'" data-height="', gsub('"', '"', ifelse(is.na(Height), "", Height)),
|
| 138 |
'" data-weight="', gsub('"', '"', ifelse(is.na(Weight), "", Weight)),
|
| 139 |
-
'">⭐ Add</button>')
|
| 140 |
Name = ifelse(HasSinker,
|
| 141 |
paste0('<span style="background:#cce5ff; padding:2px 6px;',
|
| 142 |
'border-radius:3px; font-weight:700;">', Name, '</span>'),
|
|
|
|
| 136 |
'" data-throws="', gsub('"', '"', ifelse(is.na(Throws), "", Throws)),
|
| 137 |
'" data-height="', gsub('"', '"', ifelse(is.na(Height), "", Height)),
|
| 138 |
'" data-weight="', gsub('"', '"', ifelse(is.na(Weight), "", Weight)),
|
| 139 |
+
'">⭐ Add</button>'),
|
| 140 |
Name = ifelse(HasSinker,
|
| 141 |
paste0('<span style="background:#cce5ff; padding:2px 6px;',
|
| 142 |
'border-radius:3px; font-weight:700;">', Name, '</span>'),
|