CASH-1535: Styling updates
This commit is contained in:
parent
723d8c0762
commit
0dccfb883c
1 changed files with 3 additions and 3 deletions
|
|
@ -109,16 +109,16 @@ export default {
|
||||||
);
|
);
|
||||||
tokens.forEach((token) => {
|
tokens.forEach((token) => {
|
||||||
if (token.includes(INLINE_SERVICETYPE_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);
|
tokens.splice(tokens.indexOf(token), 1, serviceType);
|
||||||
} else if (token.includes(INLINE_DAY_TOKEN) && this.selectedAppontment.date) {
|
} else if (token.includes(INLINE_DAY_TOKEN) && this.selectedAppontment.date) {
|
||||||
const day =
|
const day =
|
||||||
"<b>" +
|
"<strong>" +
|
||||||
new Date(this.selectedAppontment.date).toLocaleDateString("en-US", {
|
new Date(this.selectedAppontment.date).toLocaleDateString("en-US", {
|
||||||
weekday: "long",
|
weekday: "long",
|
||||||
timeZone: "UTC",
|
timeZone: "UTC",
|
||||||
}) +
|
}) +
|
||||||
"</b>";
|
"</strong>";
|
||||||
tokens.splice(tokens.indexOf(token), 1, day);
|
tokens.splice(tokens.indexOf(token), 1, day);
|
||||||
} else if (token.includes(INLINE_DATE_TOKEN) && this.selectedAppontment.date) {
|
} else if (token.includes(INLINE_DATE_TOKEN) && this.selectedAppontment.date) {
|
||||||
const date = new Date(this.selectedAppontment.date).toLocaleDateString(
|
const date = new Date(this.selectedAppontment.date).toLocaleDateString(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue