Skip to content

Commit 0c2d530

Browse files
committed
Disable BQ table download button when no column is selected.
1 parent 4c02451 commit 0c2d530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

static/js/cohorts/cohort-details.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,14 @@ require([
220220
$('#download-csv').attr('disabled', 'disabled');
221221
$('#download-tsv').attr('disabled', 'disabled');
222222
$('#download-json').attr('disabled', 'disabled');
223+
$('#get-bq-table').attr('disabled', 'disabled');
223224
}
224225
else
225226
{
226227
$('#download-csv').removeAttr('disabled');
227228
$('#download-tsv').removeAttr('disabled');
228229
$('#download-json').removeAttr('disabled');
230+
$('#get-bq-table').removeAttr('disabled');
229231
}
230232

231233
if (num_selected_column == 0) {

0 commit comments

Comments
 (0)