File tree Expand file tree Collapse file tree
src/Geta.Optimizely.GenericLinks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,15 +135,15 @@ public override object? Value
135135
136136 return _linkItem ;
137137 }
138-
138+
139139 set
140140 {
141141 SetPropertyValue ( value , delegate
142142 {
143143 var linkData = value as TLinkData ;
144144 if ( linkData is not null || value is null )
145145 {
146- _linkItem = linkData ;
146+ Link = linkData ;
147147 }
148148 else
149149 {
@@ -209,7 +209,7 @@ public override void MakeReadOnly()
209209 if ( ! IsReadOnly )
210210 _linkItem ? . SetModified ( false ) ;
211211
212- base . MakeReadOnly ( ) ;
212+ base . MakeReadOnly ( ) ;
213213 }
214214
215215 public override PropertyData Copy ( )
Original file line number Diff line number Diff line change @@ -134,17 +134,17 @@ public override object? Value
134134 {
135135 LoadData ( base . LongString ) ;
136136 }
137-
137+
138138 return _linkItemCollection ;
139- }
139+ }
140140 set
141141 {
142142 SetPropertyValue ( value , delegate
143143 {
144144 var collection = value as LinkDataCollection < TLinkData > ;
145145 if ( collection is not null || value is null )
146146 {
147- _linkItemCollection = collection ;
147+ Links = collection ;
148148 }
149149 else
150150 {
You can’t perform that action at this time.
0 commit comments