No, if they don't tell the employer, it's probably because their employer views 24 hours of their day as company bought and paid for even though they only pay for 8hrs/day or 40hrs/wk. (note that I'm speaking more of side hustles than multiple jobs each with expected hours of availability). When I started doing my own thing on the side 30 years ago, I didn't hide it from my employer per se, but nor did I bother to inform them of it because it was simply none of their business just like where I chose to go for dinner on my own time.
Because I doubt you would do anything unethical, unsavory, or engage in any thievery, I am sure in your employment contract they didn’t specify your specific hours during the work week to be available, so I am sure you weren’t being unscrupulous.
Really, no employer cares if you work two, three, or more jobs outside your working hours if they specify what those hours are, right? What do they care if you are a waiter at a restaurant at night, a backhoe operator on Saturdays, and a Hardware store clerk on Sunday?
As long as you are fully 100% available during the hours they specify in your employment contract, you are covered.
Right?