diff --git a/components/revert-video-modal.html b/components/revert-video-modal.html index cedd0daa..151d7bfd 100644 --- a/components/revert-video-modal.html +++ b/components/revert-video-modal.html @@ -62,7 +62,7 @@
Versions are grouped by their d
tag or shared videoRootId. This ensures legacy
- clients see consistent history when multiple edits were published.
+ clients see consistent history when multiple edits were published, and keeps audience flags (NSFW / for kids) aligned with the Upload modal.
Conflicting flags detected — this revision is marked both NSFW and for kids. Review before reverting.
' + : ""; + const descriptionHtml = description ? `${escape(description)}
` : 'No description provided.
'; @@ -718,6 +766,11 @@ export class RevertModal { definition("Alt text", altHtml, { span: 2 }), ].join(""); + const audienceRows = [ + definition("NSFW flag", nsfwStatusHtml), + definition("For kids flag", kidsStatusHtml), + ].join(""); + this.details.innerHTML = `