bfg-common 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -699,8 +699,8 @@ const bodyItemsPresent = computed<UI_I_BodyItem[][]>(() => {
|
|
|
699
699
|
if (sortInfo.value[0] !== '') {
|
|
700
700
|
items = useDeepCopy(items).sort(
|
|
701
701
|
(a: UI_I_BodyItem[], b: UI_I_BodyItem[]) => {
|
|
702
|
-
const first = a[sortedColumnIndex.value].text
|
|
703
|
-
const second = b[sortedColumnIndex.value].text
|
|
702
|
+
const first = a[sortedColumnIndex.value].text.toString()
|
|
703
|
+
const second = b[sortedColumnIndex.value].text.toString()
|
|
704
704
|
|
|
705
705
|
if (sortInfo.value[1]) {
|
|
706
706
|
return first > second ? 1 : first < second ? -1 : 0
|