mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-8960] Review and apply required inputs where possible (#4339)
This commit is contained in:
committed by
GitHub
parent
d30c933259
commit
52b4060e78
@@ -49,7 +49,7 @@ export class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
@Input()
|
||||
nodeId: string;
|
||||
|
||||
@Input()
|
||||
@Input({ required: true })
|
||||
node: NodeEntry;
|
||||
|
||||
isLoading = false;
|
||||
|
@@ -37,7 +37,7 @@ import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class ToolbarComponent {
|
||||
@Input() items: ContentActionRef[];
|
||||
@Input({ required: true }) items: ContentActionRef[];
|
||||
|
||||
trackByActionId(_: number, action: ContentActionRef) {
|
||||
return action.id;
|
||||
|
Reference in New Issue
Block a user