Skip to content

Commit

Permalink
TASK Neos.Neos:Shortcut dont cache the backend view
Browse files Browse the repository at this point in the history
Otherwise, changes from `Neos.Backend.interfaceLanguage()` will not be reflected.

And its like a backend module -> which i wouldn't cache also.
  • Loading branch information
mhsdesign committed Nov 2, 2022
1 parent a776cb0 commit 1ce5b15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Neos.Neos/Resources/Private/Fusion/Prototypes/Shortcut.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,12 @@ prototype(Neos.Neos:Shortcut) < prototype(Neos.Fusion:Component) {
</div>
`

@cache {
mode = "uncached"
context {
0 = "node"
}
}

@exceptionHandler = 'Neos\\Neos\\Fusion\\ExceptionHandlers\\NodeWrappingHandler'
}

0 comments on commit 1ce5b15

Please sign in to comment.