Command not registering

for some reason, this command is not registering and is registered on parent file, I am doing something wrong?
image.png
image.png
Was this page helpful?