private/ActionMenuItem: Update code style, use proper type checks
Instead of performing questionable `undefined` checks, copy proper typed conditionals from ActionToolBar implementation. The root component id isn't needed, as it's literally the only component in its own file. Import versions are dropped, except for Kirigami's major version which used to cause troubles with path resolution.
Please register or sign in to comment