Initial Commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
document.querySelectorAll('.export-csv-btn').forEach(btn => {
|
||||
btn.addEventListener('click', function(e) {
|
||||
e.stopPropagation();
|
||||
const subnetId = this.getAttribute('data-subnet-id');
|
||||
window.location.href = `/subnet/${subnetId}/export_csv`;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user