Problem with "true" vs "nummer"

Question:
I use this code togheter with a data-backend code and I am very frustrated with that it continues displaying “true” instead of the actual number in both the database and on the page. So how can I solve this? The likes1 field type is set to number (not text).

$w(“#emptyHeart1”).onClick((event) => {
wixData.get(“Members”, memberId)
.then((memberInfo) => {
$w(‘#emptyHeart1’).collapse();
$w(‘#fullHeart1’).expand();
$w(‘#likes1’).text = (parseInt($w(‘#likes1’).text) + 1).toString();
memberInfo.likes1 = true;
wixData.update(‘Members’, memberInfo).catch();
})
});

The backend-code:

import wixData from ‘wix-data’;

export function Members_likes1(item, context) {
if (item.likes1) {
return wixData.get(context.collectionName, item._id, { “suppressHooks”: true })
.then(itemToUpdate => {
itemToUpdate.likes1 ? itemToUpdate.likes1 += 1 : itemToUpdate.likes1 = 1;

    return itemToUpdate;

})
}
return item;
}