diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue index 88e4d3fc3..3a748cc4d 100644 --- a/js/src/views/Event/Edit.vue +++ b/js/src/views/Event/Edit.vue @@ -486,7 +486,6 @@ import "intersection-observer"; import { CONFIG } from "../../graphql/config"; import { IConfig } from "../../types/config.model"; import { ApolloCache, FetchResult, InMemoryCache } from "@apollo/client/core"; -import { cloneDeep } from "@apollo/client/utilities"; const DEFAULT_LIMIT_NUMBER_OF_PLACES = 10; @@ -513,7 +512,7 @@ const DEFAULT_LIMIT_NUMBER_OF_PLACES = 10; }; }, update(data) { - return new EventModel(cloneDeep(data.event)); + return new EventModel(data.event); }, skip() { return !this.eventId;