Fix #1198: Fixed domains table hidden controls when no domains are found Closes #1198 See merge request !1213