8 lines
120 B
JavaScript

export function getPageType (type) {
if (type === 'catalog') {
return 'category'
} else {
return type
}
}