Don't replace underscores for tech acronyms

This commit is contained in:
2026-07-17 09:30:22 +02:00
parent 561cc9e0bc
commit 6e21d76ee3
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import { getParamsFromFolders } from "../src/service/ImageRepository.js";
*/
export default async function exposeParams() {
const techs = Object.entries(TECH_NAMES).map(([key, fullname]) => ({
acronym: key.toUpperCase().replaceAll('_', ' '),
acronym: key.toUpperCase(),
fullname,
}));

View File

@@ -15,7 +15,7 @@ export const TECH_NAMES = {
uvf: "Technical Photography UVF",
mbi: "Multispectral Imaging",
hiroxnir: "HIROX NIR Image 930nm",
hiroxnir_layers_replaced: "HIROX NIR Image 930nm with layers replaced",
hiroxnir_layers_replaced: "HIROX NIR Image 930nm (layers replaced)",
splitview: "Split view Raking-light VIS Image/NIR Image 1000nm",
};