Skip to content

Commit

Permalink
Fix issue that prevents shopify theme console from evaluating resul…
Browse files Browse the repository at this point in the history
…ts when another 'preview_theme_id' is set (#3812)
  • Loading branch information
karreiro authored Apr 30, 2024
1 parent d82d4a4 commit ddff21d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-flowers-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/theme': patch
---

Fix issue that prevents `shopify theme console` from evaluating results when another 'preview_theme_id' is set
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def call(env)
# from shutting down the server.
shutdown if index_page?(@env)

# Set preview_theme_id into the session.
@app.call(@env)

[
200,
{
Expand Down

0 comments on commit ddff21d

Please sign in to comment.