fake_slug hack
This commit is contained in:
parent
a378f61a53
commit
1763af155e
@ -248,7 +248,7 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
|
||||
}
|
||||
|
||||
const edits = (slug == 'current_landuse_group') ?
|
||||
{['date_year']: value} :
|
||||
{['fake_slug']: value} :
|
||||
{[slug]: value}
|
||||
|
||||
this.doSubmit(edits);
|
||||
|
@ -632,7 +632,8 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
||||
year_demolished: { min: 1993, max: 1994 },
|
||||
lifespan: "2-5", overlap_present: "50%", links: ["", ""]}
|
||||
]
|
||||
}
|
||||
},
|
||||
fake_slug: {}
|
||||
};
|
||||
|
||||
export const allFieldsConfig = {...dataFields, ...buildingUserFields};
|
Loading…
Reference in New Issue
Block a user