Browse Source

Delete null assertion

collection-component
mohamed yahia 2 years ago
parent
commit
550499efac
  1. 4
      packages/core/src/dom_components/model/SymbolUtils.ts

4
packages/core/src/dom_components/model/SymbolUtils.ts

@ -131,8 +131,8 @@ export const logSymbol = (symb: Component, type: string, toUp: Component[], opts
}; };
export const updateSymbolProps = (symbol: Component, opts: SymbolToUpOptions = {}): void => { export const updateSymbolProps = (symbol: Component, opts: SymbolToUpOptions = {}): void => {
const changed = symbol.componentDVListener.getPropsDefsOrValues({ ...symbol.changedAttributes() } || {}); const changed = symbol.componentDVListener.getPropsDefsOrValues({ ...symbol.changedAttributes() });
const attrs = symbol.componentDVListener.getAttributesDefsOrValues({ ...changed.attributes } || {}); const attrs = symbol.componentDVListener.getAttributesDefsOrValues({ ...changed.attributes });
cleanChangedProperties(changed, attrs); cleanChangedProperties(changed, attrs);

Loading…
Cancel
Save