Merge pull request #2925 from Safelite/feature/CASH-1535

CASH-1535: Styling updates
This commit is contained in:
Chris 2025-10-31 15:23:03 -04:00 committed by GitHub
commit 057776c239
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,16 +109,16 @@ export default {
);
tokens.forEach((token) => {
if (token.includes(INLINE_SERVICETYPE_TOKEN)) {
const serviceType = "<b>" + this.getServiceType + "</b>";
const serviceType = "<strong>" + this.getServiceType + "</strong>";
tokens.splice(tokens.indexOf(token), 1, serviceType);
} else if (token.includes(INLINE_DAY_TOKEN) && this.selectedAppontment.date) {
const day =
"<b>" +
"<strong>" +
new Date(this.selectedAppontment.date).toLocaleDateString("en-US", {
weekday: "long",
timeZone: "UTC",
}) +
"</b>";
"</strong>";
tokens.splice(tokens.indexOf(token), 1, day);
} else if (token.includes(INLINE_DATE_TOKEN) && this.selectedAppontment.date) {
const date = new Date(this.selectedAppontment.date).toLocaleDateString(