fixes #5807 Error in console when you refresh the Action Panel
Merge pull request #5929 from dotCMS/issue-5807-Error-in-console-when-you-refresh-the-Action-Panel

fixes #5807 Error in console when you refresh the Action Panel