refactor(components): change ID types from string to number and update related components

- Update installation and unit detail components to use number type for IDs
- Modify route parameter handling to pass numbers instead of strings
- Add new unit position entry detail component with proper type handling
This commit is contained in:
Khafid Prayoga
2025-10-30 14:10:40 +07:00
parent 343d1d21cb
commit bf441ff714
5 changed files with 198 additions and 6 deletions
@@ -47,7 +47,7 @@ const title = ref('')
// #region Props & Emits
const props = defineProps<{
installationId: string
installationId: number
}>()
const installation = ref<Installation>({} as Installation)
// #endregion