Fix server strategy creator

This commit is contained in:
2022-06-10 16:15:27 +02:00
parent 63bb2c8e02
commit de6cd8b172

View File

@@ -1,6 +1,9 @@
Class {
#name : #LeCarpSnippetElement,
#superclass : #LeExternalEvaluatedSnippetElement,
#instVars : [
'serverStrategy'
],
#category : #'Carp-Lepiter'
}
@@ -18,7 +21,7 @@ LeCarpSnippetElement >> onSnippetViewModelChanged [
LeCarpSnippetElement >> serverStrategy [
^ serverStrategy ifNil:
[ serverStrategy := LeCarpApplicationStrategy new content: self ].
[ serverStrategy := LeCarpApplicationStrategy new content: self snippet ].
]
{ #category : #accessing }