Skip to content

Commit 2470f56

Browse files
fix m[0] issue
1 parent c8ca05a commit 2470f56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ui/root/DeputyContributionSurveySection.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ export default class DeputyContributionSurveySection implements DeputyUIElement
223223

224224
const m = message.join( mw.msg( 'deputy.content.assessed.comma' ) );
225225

226+
if ( m.length === 0 ) {
227+
return mw.msg( 'deputy.content.reformat' );
228+
}
229+
226230
const summary = mw.msg(
227231
nowClosed ?
228232
'deputy.content.summary.sectionClosed' :

0 commit comments

Comments
 (0)