diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue index 232f1f0ea..6e805727d 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue @@ -128,7 +128,9 @@ const columns = ref([ style: "font-size: 14px", format: (v) => (v === true ? "ใช่" : "ไม่ใช่"), sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "degree", @@ -139,7 +141,9 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "field", @@ -891,7 +895,6 @@ onMounted(async () => { class="custom-header-table" :visible-columns="visibleColumns" v-model:pagination="pagination" - >