Skip to content

Commit

Permalink
Merge pull request #2394 from shanberg/empty-pages-should-allow-blocks
Browse files Browse the repository at this point in the history
fix: ignore properties when testing whether page is empty
  • Loading branch information
shanberg authored Sep 27, 2022
2 parents ac762a2 + b222614 commit fd6284e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cljs/athens/views/pages/node_page.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@
(when-not on-daily-notes?
[time-controls/slider title])

(when (and (empty? properties)
(empty? children))
(when (empty? children)
[placeholder-block-el uid])

;; Properties
Expand Down

0 comments on commit fd6284e

Please sign in to comment.