diff --git a/src/sidepanel/details/details.tsx b/src/sidepanel/details/details.tsx
index 1661842..6984fd8 100644
--- a/src/sidepanel/details/details.tsx
+++ b/src/sidepanel/details/details.tsx
@@ -26,6 +26,7 @@ const EXCLUDED_TAGS = [
'FAMS',
'NOTE',
'SOUR',
+ 'FACT',
];
function dataDetails(entry: GedcomEntry) {
@@ -53,6 +54,43 @@ function dataDetails(entry: GedcomEntry) {
);
}
+function attributeDetails(entry: GedcomEntry) {
+ if (!entry.data) {
+ return null;
+ }
+
+ let attributeName = entry.tree
+ .filter((subentry) => subentry.tag === 'TYPE')
+ .flatMap((type) => getData(type))
+ .join()
+ .trim();
+
+ let attributeValue = getData(entry).join(' ').trim();
+ if(attributeName) {
+ return (
+ <>
+