adding chevron arrow when clicking op.log

revert-70aa11f8
Imesh Chandrasiri 7 years ago
parent 131bf2d3b4
commit eda30cbf3c

@ -124,11 +124,13 @@ function loadOperationsLog(update) {
if (row.child.isShown()) { if (row.child.isShown()) {
row.child.hide(); row.child.hide();
tr.find('i.fw-up').removeClass('fw-up').addClass('fw-down');
$(row.child()).removeClass('log-data-row'); $(row.child()).removeClass('log-data-row');
tr.removeClass('shown'); tr.removeClass('shown');
} else { } else {
invokerUtil.get(uri,(payload) => { invokerUtil.get(uri,(payload) => {
row.child(renderLogDetails(row.data(),payload)).show(); row.child(renderLogDetails(row.data(),payload)).show();
tr.find('i.fw-down').removeClass('fw-down').addClass('fw-up');
$(row.child()).addClass('log-data-row'); $(row.child()).addClass('log-data-row');
tr.addClass('shown'); tr.addClass('shown');
},(error) => { },(error) => {

Loading…
Cancel
Save