Skip to content

Commit

Permalink
Fixed small typos in title texts
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrick committed Jan 18, 2024
1 parent c11b00e commit aad3428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps-script/3p-resources/3p-resources.gs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function caseLinkPreview(event) {

// Builds a preview card with the case name, and description
const caseHeader = CardService.newCardHeader()
.setTitle(`Case: ${caseDetails.name}`);
.setTitle(`Case ${caseDetails.name}`);
const caseDescription = CardService.newTextParagraph()
.setText(caseDetails.description);

Expand Down Expand Up @@ -196,7 +196,7 @@ function submitCaseCreationForm(event) {
if (Object.keys(errors).length > 0) {
return createCaseInputCard(event, errors, /* isUpdate= */ true);
} else {
const title = caseDetails.name;
const title = `Case ${caseDetails.name}`;
const url = 'https://example.com/support/cases/' + encodeURIComponent(JSON.stringify(caseDetails));
return createLinkRenderAction(title, url);
}
Expand Down

0 comments on commit aad3428

Please sign in to comment.