Connecting Repeater with Database to Pop-Up Lightbox | Please fix code

I tried to follow tips in this example , but in my case it does not work. Please help me @wearepages @communityxteam


Code on main page:

export function read_click_1(event, $w) {

    let title = $w('#postertitle').text
    console.log(title)
    wixWindow.openLightbox('Poster', title)

}

My Database:

Lightbox Page:

import wixData from 'wix-data';
import wixWindow from 'wix-window';
let popup = wixWindow.lightbox.getContext();

console.log('popup')
console.log(popup)

$w.onReady(function () {

    $w("#dataset2").onReady(() => {

        $w("#dataset2").setFilter(wixData.filter().eq("title", popup))

            .then(() => {

                let currentItem = $w('#dataset2').getCurrentItem();

                $w('#image1').src = currentItem.coverImage;

                $w('#postTitle').text = currentItem.title;

                $w('#authorName').text = currentItem.authorName;

                $w('#postRichText').text = currentItem.post;

                $w('#creatDate').text = currentItem._createdDate;

                $w('#image3').src = currentItem.authorImage;

                setTimeout(function () {

                    $w('#image1').show();

                }, 500)

            })

    })

})

After all debug says:

Hey @ibaakiy , might recommend checking the Velo forum . Regardless, I have made a ticket on your behalf and forwarded to our Velo team.