@@ -189,7 +189,7 @@ export class ComponentBase<T> {
189189 let tempOnDestroyThis : any = isTempRef || this ;
190190 /* istanbul ignore else */
191191 setTimeout ( ( ) => {
192- if ( typeof window !== 'undefined' && document . body . contains ( tempOnDestroyThis . element ) && ( tempOnDestroyThis . element . classList . contains ( 'e-control' ) || tempOnDestroyThis . element ) ) {
192+ if ( typeof window !== 'undefined' && document . body . contains ( tempOnDestroyThis . element ) && tempOnDestroyThis . element . classList . contains ( 'e-control' ) ) {
193193 tempOnDestroyThis . destroy ( ) ;
194194 tempOnDestroyThis . clearTemplate ( null ) ;
195195 // removing bounded events and tagobjects from component after destroy
@@ -261,7 +261,7 @@ export class ComponentBase<T> {
261261 tempAfterContentThis . setProperties ( propObj , tagObject . instance . isInitChanges ) ;
262262 } else {
263263 /* istanbul ignore next */
264- if ( ( tempAfterContentThis [ tagObject . name ] . length !== tagObject . instance . list . length ) || / d i a g r a m | D a s h b o a r d L a y o u t / . test ( tempAfterContentThis . getModuleName ( ) ) ) {
264+ if ( ( tempAfterContentThis [ tagObject . name ] . length !== tagObject . instance . list . length ) || ( tempAfterContentThis . getModuleName ( ) === 'diagram' ) ) {
265265 tempAfterContentThis [ tagObject . name ] = tagObject . instance . list ;
266266 }
267267 for ( let list of tagObject . instance . list ) {
@@ -271,7 +271,7 @@ export class ComponentBase<T> {
271271 complexTemplates = complexTemplates . filter ( ( val : string ) : boolean => {
272272 return / R e f $ / i. test ( val ) ;
273273 } ) ;
274- if ( curChild . properties && Object . keys ( curChild . properties ) . length !== 0 && / c h a r t | k a n b a n / . test ( tempAfterContentThis . getModuleName ( ) ) ) {
274+ if ( curChild . properties && Object . keys ( curChild . properties ) . length !== 0 && / c h a r t / . test ( tempAfterContentThis . getModuleName ( ) ) ) {
275275 for ( let complexPropName of complexTemplates ) {
276276 complexPropName = complexPropName . replace ( / R e f / , '' ) ;
277277 curChild . properties [ complexPropName ] = ! curChild . properties [ complexPropName ] ?
0 commit comments