Spaces:
Sleeping
Sleeping
Fix responses link to open in new tab
Browse files
app.py
CHANGED
|
@@ -266,8 +266,8 @@ MODEL_COLUMN_DEFS = [
|
|
| 266 |
"field": "sample_responses_url",
|
| 267 |
"headerName": "Responses",
|
| 268 |
"width": 110,
|
| 269 |
-
"
|
| 270 |
-
"
|
| 271 |
},
|
| 272 |
]
|
| 273 |
|
|
|
|
| 266 |
"field": "sample_responses_url",
|
| 267 |
"headerName": "Responses",
|
| 268 |
"width": 110,
|
| 269 |
+
"cellDataType": False,
|
| 270 |
+
"cellRenderer": {"function": "params.value ? '<a href=\"' + params.value + '\" target=\"_blank\" rel=\"noopener noreferrer\">📄 View</a>' : ''"},
|
| 271 |
},
|
| 272 |
]
|
| 273 |
|