fix: change get encounter class to constants

This commit is contained in:
riefive
2025-10-02 11:16:23 +07:00
parent d7d984810e
commit 6feb480a51
2 changed files with 17 additions and 4 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ import {
handleActionRemove,
handleCancelForm,
} from '~/handlers/installation.handler'
import { encounterClasses, getEncounterClassList } from '~/handlers/_shared.handler'
import { encounterClasses, getEncounterClassConstants } from '~/handlers/_shared.handler'
// Services
import { getInstallations, getInstallationDetail } from '~/services/installation.service'
@@ -111,7 +111,7 @@ watch([recId, recAction], () => {
})
onMounted(async () => {
await getEncounterClassList()
await getEncounterClassConstants()
await getInstallationList()
})
</script>