Move place details to dedicated component

With more place infos and formatting
This commit is contained in:
2026-01-21 14:53:58 +07:00
parent 26548cc97d
commit da3b5f2dd8
4 changed files with 243 additions and 79 deletions

View File

@@ -0,0 +1,8 @@
import { helper } from '@ember/component/helper';
export function capitalize([str]) {
if (typeof str !== 'string') return '';
return str.charAt(0).toUpperCase() + str.slice(1);
}
export default helper(capitalize);