Fix event options being uneditable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -207,7 +207,8 @@ export class EventModel implements IEvent {
|
||||
}
|
||||
}
|
||||
|
||||
function removeTypeName(entity: any): any {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
export function removeTypeName(entity: any): any {
|
||||
if (entity?.__typename) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { __typename, ...purgedEntity } = entity;
|
||||
|
||||
Reference in New Issue
Block a user