Skip to content

Commit 4a3c3a3

Browse files
committed
fix: person years editor issue
1 parent e3411d5 commit 4a3c3a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/moder/items/item/meta/meta.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export class ModerItemsItemMetaComponent {
9999
case ItemType.ITEM_TYPE_MUSEUM:
100100
mask.push('begin_year', 'end_year', 'begin_month', 'end_month', 'today', 'location');
101101
break;
102+
case ItemType.ITEM_TYPE_PERSON:
103+
mask.push('begin_year', 'end_year', 'begin_month', 'end_month', 'today');
104+
break;
102105
case ItemType.ITEM_TYPE_TWINS:
103106
mask.push('begin_year', 'end_year', 'begin_month', 'end_month', 'today', 'body');
104107
break;

0 commit comments

Comments
 (0)