Skip to content

Commit

Permalink
Merge branch 'develop' into daphne/W-14441163-stl-sdr-dependency-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gbockus-sf authored Nov 8, 2023
2 parents 4db1852 + 7ff0746 commit 3737bbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-lwc/snippets/lwc-html.json
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@
"lwc-relative-date-time": {
"body": [
"<lightning-relative-date-time ",
" value={${dateTime}}",
" value={${0:dateTime}}",
"></lightning-relative-date-time>"
],
"description": "Relative Date Time - Displays the relative time difference between the source date-time and the provided date-time.",
Expand Down
6 changes: 3 additions & 3 deletions packages/salesforcedx-vscode-lwc/snippets/lwc-js.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@
"",
"@wire(graphql, {",
" query: gql`",
" query ${1:queryName}($recordId: Id) {",
" query ${1:queryName}(\\$recordId: Id) {",
" uiapi {",
" query {",
" ${2:sObjectName}(where: { Id: { eq: $recordId } }) {",
" ${2:sObjectName}(where: { Id: { eq: \\$recordId } }) {",
" edges {",
" node {",
" Id",
Expand All @@ -278,7 +278,7 @@
" }",
" }",
" `,",
" variables: \"$variables\", // Use a getter function to make the variables reactive",
" variables: \"\\$variables\", // Use a getter function to make the variables reactive",
"})",
"graphqlQueryResult({ data, errors }) {",
" if (data) {",
Expand Down

0 comments on commit 3737bbd

Please sign in to comment.