Update manageCopilots.js

Add error message when there is no copilot operations