https://rancher.com/ logo
c

careful-mouse-42236

03/01/2023, 3:19 PM
Admin UI: on my local machine I can't logout or open the display the About page Did you experience this before?
ERROR TypeError: Cannot read properties of undefined (reading 'open')
at HeaderComponent.logout (header.component.ts7222)
@ViewChild("logoutmodal", { static: true }) logoutModal: ClrModal;
@ViewChild("aboutmodal", { static: true }) aboutModal: ClrModal;
public logout() {
this.logoutModal.open();
}
public about() {
this.aboutModal.open();
}
It seems it has been commented in commit eecc52fe3cc6757869f9fbaf832c62cc930eb1f7
I uncommented it and am preparing a PR
Thanks @faint-optician-47536 🙂
f

faint-optician-47536

03/03/2023, 8:09 AM
No problem, i just realized that this was commented out. Thanks for finding!
c

careful-mouse-42236

03/03/2023, 8:10 AM
You're welcome. I'm mapping the actions in the test solution 🙂
f

faint-optician-47536

03/03/2023, 8:10 AM
ah perfect thats why. maybe we find more bugs on the way 😄
😇 1
c

careful-mouse-42236

03/03/2023, 8:11 AM
I'm sure it was done on purpose to encourage me ^^
f

faint-optician-47536

03/03/2023, 8:11 AM
yes yes we wanted to test your knowledge 😛
all bugs are done on purpose of course
🙌 1