Add back Imported badge for Comments and System notes

What does this MR do and why?

When comments and system notes were migrated to WorkItem, the "imported" attribute wasn't included in the GraphQL query.

This change adds it back and updates the correct props so the original "Imported" badge is rendered properly.

Changelog: fixed

References

Related to #540724 (closed)

Screenshots or screen recordings

Before After
Issue_with_imported_comments_and_system_notes_before Issue_with_imported_comments_and_system_notes_after

How to set up and validate locally

See original issue.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading