mirror of
https://github.com/apache/nifi.git
synced 2025-03-04 00:19:44 +00:00
[NIFI-9746] NiFi Registy Bucket Side Nav no longer fails to open (#5831)
- all ViewCild queries are decorated with {static: true} which is needed because of new angular version none of these ViewChild under *ng directives so they are available during init with static:true Merged #5831 into main.
This commit is contained in:
parent
c91f543c2b
commit
6f5fda54e5
@ -92,7 +92,7 @@ NfRegistryAddUser.annotations = [
|
||||
new Component({
|
||||
templateUrl: './nf-registry-add-user.html',
|
||||
queries: {
|
||||
newUserInput: new ViewChild('newUserInput')
|
||||
newUserInput: new ViewChild('newUserInput', { static: true })
|
||||
}
|
||||
})
|
||||
];
|
||||
|
@ -93,7 +93,7 @@ NfRegistryCreateNewGroup.annotations = [
|
||||
new Component({
|
||||
templateUrl: './nf-registry-create-new-group.html',
|
||||
queries: {
|
||||
createNewGroupInput: new ViewChild('createNewGroupInput')
|
||||
createNewGroupInput: new ViewChild('createNewGroupInput', { static: true })
|
||||
}
|
||||
})
|
||||
];
|
||||
|
@ -421,9 +421,9 @@ NfRegistryAddPolicyToBucket.annotations = [
|
||||
new Component({
|
||||
templateUrl: './nf-registry-add-policy-to-bucket.html',
|
||||
queries: {
|
||||
readCheckbox: new ViewChild('readCheckbox'),
|
||||
writeCheckbox: new ViewChild('writeCheckbox'),
|
||||
deleteCheckbox: new ViewChild('deleteCheckbox')
|
||||
readCheckbox: new ViewChild('readCheckbox', { static: true }),
|
||||
writeCheckbox: new ViewChild('writeCheckbox', { static: true }),
|
||||
deleteCheckbox: new ViewChild('deleteCheckbox', { static: true })
|
||||
}
|
||||
})
|
||||
];
|
||||
|
@ -88,8 +88,8 @@ NfRegistryCreateBucket.annotations = [
|
||||
new Component({
|
||||
templateUrl: './nf-registry-create-bucket.html',
|
||||
queries: {
|
||||
newBucketName: new ViewChild('newBucketName'),
|
||||
newBucketDescription: new ViewChild('newBucketDescription')
|
||||
newBucketName: new ViewChild('newBucketName', { static: true }),
|
||||
newBucketDescription: new ViewChild('newBucketDescription', { static: true })
|
||||
}
|
||||
})
|
||||
];
|
||||
|
@ -379,9 +379,9 @@ NfRegistryEditBucketPolicy.annotations = [
|
||||
new Component({
|
||||
templateUrl: './nf-registry-edit-bucket-policy.html',
|
||||
queries: {
|
||||
readCheckbox: new ViewChild('readCheckbox'),
|
||||
writeCheckbox: new ViewChild('writeCheckbox'),
|
||||
deleteCheckbox: new ViewChild('deleteCheckbox')
|
||||
readCheckbox: new ViewChild('readCheckbox', { static: true }),
|
||||
writeCheckbox: new ViewChild('writeCheckbox', { static: true }),
|
||||
deleteCheckbox: new ViewChild('deleteCheckbox', { static: true })
|
||||
}
|
||||
})
|
||||
];
|
||||
|
@ -107,7 +107,7 @@ NfRegistry.annotations = [
|
||||
selector: 'nf-registry-app',
|
||||
templateUrl: './nf-registry.html',
|
||||
queries: {
|
||||
sidenav: new ViewChild('sidenav')
|
||||
sidenav: new ViewChild('sidenav', { static: true })
|
||||
},
|
||||
animations: [nfRegistryAnimations.flyInOutAnimation]
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user