Skip to content

Commit

Permalink
Merge branch 'main' into communities
Browse files Browse the repository at this point in the history
  • Loading branch information
jindaliiita authored Jun 27, 2024
2 parents 54ae082 + 0463480 commit 7149d8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blocks/agent-property/agent-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cardView = button({ class: 'card-view' }, 'Grid View');
const mapView = button({ class: 'map-view' }, 'Map View');
const viewToggle = div({ class: 'view-toggle' });
const map = div({ class: 'gmap-canvas' });
const agentId = getMetadata('agent-id');
const agentId = getMetadata('id');
let centerlat;
let centerlong;
let data;
Expand Down
2 changes: 1 addition & 1 deletion blocks/agent-transactions/agent-transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
import { getMetadata } from '../../scripts/aem.js';

const getClosedTransactions = async () => {
const agentId = getMetadata('agent-id');
const agentId = getMetadata('id');
const formattedData = [];

try {
Expand Down
6 changes: 3 additions & 3 deletions blocks/floatingagent/floatingagent.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { decorateFormLinks } from '../../scripts/scripts.js';

export default function decorate(block) {
const agentName = getMetadata('name');
const agentDesc = getMetadata('desc');
const pic = getMetadata('pic');
const lic = getMetadata('lic');
const agentDesc = getMetadata('description');
const pic = getMetadata('photo');
const lic = getMetadata('license-number');

const agentPicture = document.createElement('picture');
agentPicture.appendChild(img({
Expand Down

0 comments on commit 7149d8f

Please sign in to comment.