@stratusjs/angular 0.3.7 → 0.3.9

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.
@@ -131,6 +131,8 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
131
131
  // AutoComplete Data
132
132
  filteredContent: Array<ContentEntity>
133
133
  dialogContentForm: FormGroup
134
+
135
+ // maybe make all of these public...
134
136
  isContentLoading = false
135
137
  isContentLoaded = false
136
138
  lastContentSelectorQuery: string
@@ -210,6 +212,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
210
212
  if (_.isString(value)) {
211
213
  this.lastContentSelectorQuery = `${this.basicContentSelectorQuery}${value}`
212
214
  } else {
215
+ // console.log('switchMap value is not a string:', value)
213
216
  this.data.content = value
214
217
  this.data.url = null
215
218
  }
@@ -325,6 +328,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
325
328
  // }
326
329
 
327
330
  private handleContent(response:HttpResponse<Convoy<ContentEntity>>) {
331
+ // console.log('response handled!')
328
332
  if (!response.ok || response.status !== 200 || _.isEmpty(response.body)) {
329
333
  this.filteredContent = []
330
334
  // FIXME: We have to go in this roundabout way to force changes to be detected since the
@@ -367,6 +371,7 @@ export class TreeDialogComponent extends ResponsiveComponent implements OnInit,
367
371
  }
368
372
 
369
373
  public isSelected(content: ContentEntity) {
374
+ // console.log('isSelected:', content)
370
375
  if (!this.data.content) {
371
376
  return false
372
377
  }