Skip to content

Commit 47b11aa

Browse files
committed
updated the app - fix the plotly click issue
1 parent 55e0484 commit 47b11aa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,15 @@ server <- function(input, output) {
202202
print(x)
203203
print(y)
204204

205-
205+
print(features$area_name[x])
206+
print(features$process[x])
207+
print(head(ts))
206208

207209
if (length(x) == 1 && x == y) {
208210
t <- ts |>
209211
dplyr::filter(
210212
area_name == features$area_name[x],
211-
process_name == features$process[x]
213+
process == features$process[x]
212214
) |>
213215
dplyr::arrange(date)
214216
}

docs/app.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)