mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-25 19:42:30 +00:00
Merge pull request #427 from phl0/hideSameNumberOfPasses
Hide hint and button if number of workable passes matches number of all passes
This commit is contained in:
@@ -135,6 +135,10 @@ function loadActivationsTable(rows, show_workable_only) {
|
||||
table.rows(createdRow).nodes().to$().data('activationID', activation.id);
|
||||
table.row(createdRow).node().id = 'activationID-' + activation.id;
|
||||
}
|
||||
if (workable_rows == rows.length) {
|
||||
$('#toggle_workable').hide();
|
||||
$('#workable_hint').hide();
|
||||
}
|
||||
if (workable_only == '1') {
|
||||
if (rows.length > workable_rows) {
|
||||
$('#toggle_workable').html('Show all passes ('+rows.length+')');
|
||||
|
||||
Reference in New Issue
Block a user