Steps to reproduce:
- Try to import a file that has no categories in the file description
- On the preview page you will see the warning that you should consider adding categories
- Edit the file info and add categories manually
- The warning will still be visible after you have submitted the change file info text
From feedback in T222873#5253969
Acceptance Criteria
- Remove the warning if there are categories in any cases, and add it whenever there are non again