8 lines
120 B
JavaScript
8 lines
120 B
JavaScript
2 years ago
|
export function getPageType (type) {
|
||
|
if (type === 'catalog') {
|
||
|
return 'category'
|
||
|
} else {
|
||
|
return type
|
||
|
}
|
||
|
}
|