mirror of
https://github.com/TrentSPalmer/hugo_themes_report.git
synced 2024-12-03 16:41:29 -08:00
fix duplicate ids
This commit is contained in:
parent
72e583fa37
commit
cae74210bc
@ -125,9 +125,9 @@ function buildResults() {
|
||||
resultsTable.appendChild(resultsTableHeadRow);
|
||||
let selectedColumns = getSelectedColumns();
|
||||
|
||||
let selectedTags = getSelected("tag");
|
||||
let selectedFeatures = getSelected("feature");
|
||||
let selectedLicenses = getSelected("license");
|
||||
let selectedTags = getSelected("tag").map(x => x.slice(0,-4));
|
||||
let selectedFeatures = getSelected("feature").map(x => x.slice(0,-8));
|
||||
let selectedLicenses = getSelected("license").map(x => x.slice(0,-8));
|
||||
let selectedMinVer = getSelected("minVerRadioButton");
|
||||
let sortedBy = getSortBy();
|
||||
let minVerFilteredThemes = getMinVerFilteredThemes(selectedMinVer);
|
||||
|
@ -24,17 +24,17 @@ function buildInput(item, selected, inpParent) {
|
||||
};
|
||||
|
||||
if ("feature" in item) {
|
||||
selectionInput.value = item.feature;
|
||||
selectionInput.value = `${item.feature}-feature`;
|
||||
inputSelectionButton.style.width = "15rem";
|
||||
selectionInputLabel.innerHTML = `${item.feature} (${item.num_themes})`;
|
||||
selectionInput.classList.add("featureSelectionInput");
|
||||
} else if ("tag" in item) {
|
||||
selectionInput.value = item.tag;
|
||||
selectionInput.value = `${item.tag}-tag`;
|
||||
inputSelectionButton.style.width = "12rem";
|
||||
selectionInputLabel.innerHTML = `${item.tag} (${item.num_themes})`;
|
||||
selectionInput.classList.add("tagSelectionInput");
|
||||
} else if ("license" in item) {
|
||||
selectionInput.value = item.license;
|
||||
selectionInput.value = `${item.license}-license`;
|
||||
inputSelectionButton.style.width = "15rem";
|
||||
selectionInputLabel.innerHTML = `${item.license} (${item.num_themes})`;
|
||||
selectionInput.classList.add("licenseSelectionInput");
|
||||
|
Loading…
Reference in New Issue
Block a user