Continue to show header on data preview list
This commit is contained in:
parent
f140222dbc
commit
115c5dd71c
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ function handleShowIssuesOnly() {
|
||||||
const allRows = document.querySelectorAll('tr');
|
const allRows = document.querySelectorAll('tr');
|
||||||
if (checkboxShowIssuesOnly.checked) {
|
if (checkboxShowIssuesOnly.checked) {
|
||||||
allRows.forEach(row => {
|
allRows.forEach(row => {
|
||||||
if (!row.classList.contains("has-error")) {
|
if (!(row.classList.contains("has-error") || row.classList.contains("header"))) {
|
||||||
row.style.display = "none";
|
row.style.display = "none";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -155,7 +155,7 @@ document.addEventListener('DOMContentLoaded', onLoad);
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover table-striped">
|
<table class="table table-hover table-striped">
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr class="header">
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>Street</th>
|
<th>Street</th>
|
||||||
<th>City</th>
|
<th>City</th>
|
||||||
|
|
@ -69,7 +69,7 @@ func getUploadByID(ctx context.Context, r *http.Request, org *models.Organizatio
|
||||||
Organization: org,
|
Organization: org,
|
||||||
Upload: detail,
|
Upload: detail,
|
||||||
}
|
}
|
||||||
return newResponse("sync/pool-by-id.html", data), nil
|
return newResponse("sync/upload-by-id.html", data), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type FormUploadPool struct{}
|
type FormUploadPool struct{}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue