@contrail/flexplm 1.1.44 → 1.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,12 +111,13 @@ export class TypeUtils {
111
111
  filterTypeProperties(type, newData): TypeProperty[] {
112
112
  let filteredProps: TypeProperty[] = type['typeProperties'];
113
113
  const typePath = type['typePath'];
114
+ const roles = newData['roles'];
114
115
  if (typePath && (typePath.startsWith('item') || typePath.startsWith('project-item'))) {
115
116
  if (Logger.isDebugOn()) {
116
- console.debug('typePath: ' + typePath);
117
- console.debug('newData: ' + JSON.stringify(newData));
117
+ console.debug('filterTypeProperties():id: ' +newData?.id
118
+ + ', typePath: ' + typePath
119
+ + ', newData.roles: ' + newData?.roles);
118
120
  }
119
- const roles = newData['roles'];
120
121
  if (roles) {
121
122
  const isFamily = roles.includes('family');
122
123
  if (Logger.isDebugOn()) {