Skip to content

Commit

Permalink
Fix: Don't check twice for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed May 17, 2021
1 parent bec4368 commit 9cc22f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ prototype(Carbon.Hyphen:Implementation) {
type = 'text'
content = ${value}

@if {
notInBackend = ${!documentNode.context.inBackend}
hasString = ${this.content && Type.isString(this.content)}
}
@if.hasString = ${this.content && Type.isString(this.content)}
}

prototype(Carbon.Hyphen:Text) < prototype(Carbon.Hyphen:Component)
Expand Down

0 comments on commit 9cc22f4

Please sign in to comment.