Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9e469c4

Browse files
committed
fix: added dashes to messages
ref issue #48
1 parent a8b751f commit 9e469c4

File tree

1 file changed

+2
-2
lines changed
  • src/routes/WorkPeriods/components/PeriodItem

1 file changed

+2
-2
lines changed

src/routes/WorkPeriods/components/PeriodItem/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ function formatReasonsDisabled(reasonIds) {
273273
return null;
274274
}
275275
const reasons = [];
276-
reasons.push(REASON_DISABLED_MESSAGE_MAP[reasonIds[0]]);
276+
reasons.push('– ' + REASON_DISABLED_MESSAGE_MAP[reasonIds[0]]);
277277
for (let i = 1, len = reasonIds.length; i < len; i++) {
278278
reasons.push(<br />);
279-
reasons.push(REASON_DISABLED_MESSAGE_MAP[reasonIds[i]]);
279+
reasons.push('– ' + REASON_DISABLED_MESSAGE_MAP[reasonIds[i]]);
280280
}
281281
return reasons;
282282
}

0 commit comments

Comments
 (0)