все равно undefined:
<button
*hasRights="[Rights.edit]" layerId layerId
editable true
tool [ToolRights.edit]
class="ObjectDetailsActions__button"
(click)="edit()"
></button>
@Input() hasRightsLayerId: number;
@Input() hasRights: Rights[] = [];
@Input() hasRightsTool: string;
@Input() hasRightsEditable: boolean;
ngOnInit() {
console.log(this.hasRightsLayerId);
}
Но в переменной layerId - точно есть значение