Don't replace underscores for tech acronyms
This commit is contained in:
@@ -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,
|
||||
}));
|
||||
|
||||
|
||||
@@ -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",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user