Lattice Grid Buy a licence

Angular adapter ยท console.warn

<lattice-tabs>: `tabs` changed (a label, a b...

Printed by Angular adapter, prefixed [lattice], since 1.65.0.

Warnings reference › angular.tabs.mountOnly.tabs

Identifier
angular.tabs.mountOnly.tabs
Raised by
Angular adapter
Since
1.65.0

What happened

ngOnChanges on the Angular tabs component saw a new tabs array. The strip reads its descriptors once at construction and has no method to repaint one, so the change could not be applied; the component reports it rather than rebuilding, which would close the open tab.

The fix

Wrap the element in an @if you toggle when a new strip is genuinely wanted. Keep a live badge in your own template.

The smallest fix

@if (workspaceId) {
  <lattice-tabs [tabs]="tabs" [active]="active" />
}

Reference

Covered in full at the API reference.