nath-angular-ui 0.5.5 → 0.5.6

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.
@@ -332,6 +332,13 @@ class BreadcrumbService {
332
332
  add(crumb) {
333
333
  this._breadcrumbs.update((v) => [...v, crumb]);
334
334
  }
335
+ update(index, crumb) {
336
+ this._breadcrumbs.update((v) => {
337
+ const copy = [...v];
338
+ copy[index] = crumb;
339
+ return copy;
340
+ });
341
+ }
335
342
  /**
336
343
  * Clears the breadcrumbs when leaving a page.
337
344
  */