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() {
|
export default async function exposeParams() {
|
||||||
const techs = Object.entries(TECH_NAMES).map(([key, fullname]) => ({
|
const techs = Object.entries(TECH_NAMES).map(([key, fullname]) => ({
|
||||||
acronym: key.toUpperCase().replaceAll('_', ' '),
|
acronym: key.toUpperCase(),
|
||||||
fullname,
|
fullname,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const TECH_NAMES = {
|
|||||||
uvf: "Technical Photography UVF",
|
uvf: "Technical Photography UVF",
|
||||||
mbi: "Multispectral Imaging",
|
mbi: "Multispectral Imaging",
|
||||||
hiroxnir: "HIROX NIR Image 930nm",
|
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",
|
splitview: "Split view Raking-light VIS Image/NIR Image 1000nm",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user