Skip to content

Commit 695479b

Browse files
musalevogtn
andauthored
Set a custom image when using mgt-person-card standalone (#1288)
Co-authored-by: Nicolas Vogt <[email protected]>
1 parent 008b53f commit 695479b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mgt-components/src/components/mgt-person-card/mgt-person-card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class MgtPersonCard extends MgtTemplatedComponent {
175175
}
176176

177177
this._personDetails = value;
178-
this.personImage = null;
178+
this.personImage = this.getImage();
179179
this.requestStateUpdate();
180180
}
181181
/**

0 commit comments

Comments
 (0)