Skip to content

Commit

Permalink
[BUGFIX] Fix error in TSConfig condition
Browse files Browse the repository at this point in the history
Use `traverse` function to access the "module" property of
variable "page" because page may not be available.
  • Loading branch information
garfieldius authored and fnagel committed Nov 14, 2023
1 parent 53b2b4c commit 9e94881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/TSconfig/Page.tsconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ TCEFORM.tx_t3blog_post {
}

# Hide tt_content elements in list view
[page["module"] == "t3blog"]
[traverse(page, "module") == "t3blog"]
mod.web_list.table.tt_content.hideTable = 1
[global]

0 comments on commit 9e94881

Please sign in to comment.