Toddle formula "Branch Name" isn't evaluated server side

  • sanedealer-1342125815273623623

    Edwin Paul

    2 days ago

    I want some components only to be visible in preview sites.
    1342125815692918794-image.png
  • erikbeus-1342130412901765162

    Erik Beuschau

    2 days ago

    Thanks for reporting. I'll double check. It should work server side πŸ€”
    πŸ™Œ1
  • erikbeus-1342131865821249617

    Erik Beuschau

    2 days ago

    Do you have a link to a page where the logic doesn's seem to work during SSR? In this project, I'm using the same logic to show 2 different paragraphs depending on the branch name. The html output seems to be correct for both πŸ€”
    - https://toddle.dev/projects/branch_name_test/branches/main/components/HomePage?canvas-width=800&canvas-height=800
    - main https://branch_name_test.toddle.site/
    - preview https://temp-branch_name_test.toddle.site/
  • sanedealer-1342135744617123842

    Edwin Paul

    2 days ago

    @Erik Beuschau Please check your DMs
    πŸ‘1
  • erikbeus-1342431957291896932

    Erik Beuschau

    1 day ago

    I just deployed a fix for this. Could you verify on your end @Edwin Paul?
  • sanedealer-1342432179019583579

    Edwin Paul

    1 day ago

    Yay!πŸŽ‰
  • It works now
    πŸ‘1
  • Thankyou @Erik Beuschau AKA god_of_code
    πŸ˜…1

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code β€” but accessible to your entire team!

Try toddle β€” it's free!

Β© Copyright 2024 toddle. All rights reserved.