mirror of
https://github.com/daniel-fiuk/simple-map.git
synced 2026-07-22 17:20:29 +00:00
Update pinInteractions.ts
This commit is contained in:
parent
8931ca02e3
commit
52640debc7
1 changed files with 5 additions and 1 deletions
|
|
@ -405,7 +405,11 @@ class PinInteractionManager implements PinInteractionController {
|
|||
]);
|
||||
for (const key of Object.keys(frontMatter)) {
|
||||
if (skip.has(key)) continue;
|
||||
push(key, (frontMatter as Record<string, unknown>)[key]);
|
||||
const value = (frontMatter as Record<string, unknown>)[key];
|
||||
|
||||
if (typeof value === "string") {
|
||||
push(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
return entries;
|
||||
|
|
|
|||
Loading…
Reference in a new issue