Skip to content

Commit

Permalink
Hide functions and unknown statements from the schema designer object…
Browse files Browse the repository at this point in the history
…s selector
  • Loading branch information
mpscholten committed Jun 3, 2021
1 parent a52f3ce commit 9566457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IHP/IDE/SchemaDesigner/View/Layout.hs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ renderObjectSelector statements activeObjectName = [hsx|
renderObject AddConstraint {} id = mempty
renderObject CreateExtension {} id = mempty
renderObject CreateIndex {} id = mempty
renderObject CreateFunction {} id = mempty
renderObject UnknownStatement {} id = mempty
renderObject statement id = [hsx|<div>{statement}</div>|]

shouldRenderObject (StatementCreateTable CreateTable {}) = True
Expand Down

0 comments on commit 9566457

Please sign in to comment.