From de6cd8b1728510d6fa3941f180c4f06d4999579d Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Fri, 10 Jun 2022 16:15:27 +0200 Subject: [PATCH] Fix server strategy creator --- src/Carp/LeCarpSnippetElement.class.st | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Carp/LeCarpSnippetElement.class.st b/src/Carp/LeCarpSnippetElement.class.st index 6be243c..0624310 100644 --- a/src/Carp/LeCarpSnippetElement.class.st +++ b/src/Carp/LeCarpSnippetElement.class.st @@ -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 }