Skip to content

Commit

Permalink
Fix : When creating events from template the timezone is not autofill…
Browse files Browse the repository at this point in the history
…ed [SDESK-6974]
  • Loading branch information
devketanpro committed Sep 28, 2023
1 parent 95f2b48 commit c225ffc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/actions/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ const createNew = (itemType, item = null, updateUrl = true, modal = false) => (
function createEventFromTemplate(template: IEventTemplate) {
return self.createNew(ITEM_TYPE.EVENT, {
...template.data,
dates: {},
dates: {
tz: template.data.dates?.tz
},
});
}

Expand Down

0 comments on commit c225ffc

Please sign in to comment.