janniks / vue-notion

A fast Vue renderer for Notion pages
https://vue-notion.now.sh
Other
883 stars 63 forks source link

Toggles not working again #53

Closed Diferno closed 3 years ago

Diferno commented 3 years ago

Gmorning! Sorry to disturb, but toggles seem to not be rendering content again. Last week when you closed the issue #50, they were working like a charm, but today.... no content is fetched.

Could you check, pls?

Thx in advance

janniks commented 3 years ago

Hmm, very interesting. Can I ask how you are fetching the blockMap? Are you specifying a custom URL?

I will check in a couple of hours 👍🏻

Also, if you share a page ID that also always helps 😉

janniks commented 3 years ago

I redeployed https://vue-notion.vercel.app/ and it still seems to work there…

Diferno commented 3 years ago

Hi! thx for the quick answer as always!

This behavior is very odd. In our production environment everything is working again after yesterday, but we created a test project to share with you and it's not working in that one.

It's a clone of the Nuxt project with _slug.vue page Link to running project Notion Page

I would like to understand why sometimes the content seem to be fetched and others is not

janniks commented 3 years ago

Not sure what this could be. I tried a fresh example install in Codesandbox and it seems to work with your page id.

Hard to tell without seeing the exact code. Maybe you're using a different https://github.com/splitbee/notion-api-worker URL for prod/dev...

janniks commented 3 years ago

closing for now — can't find any other issues with toggles...

I also fixed the tab/window opening and page id issues that were shown in your running project in 1.2.0

Let me know if it helps/works for you... target docs