Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Calendar): can't add event in timeline view
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Oct 10, 2022
1 parent d6cf515 commit 730dccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/js/data/GroupedStoreCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Ext.extend(Tine.Tinebase.data.GroupedStoreCollection, Ext.util.MixedCollection,
Ext.each(records, function (record) {
Ext.each(this.getGroupNames(record), function (groupName) {
var store = this.get(groupName),
existingRecord = record.id != 0 ? store.getById(record.id) : null;
existingRecord = store && record.id != 0 ? store.getById(record.id) : null;

// NOTE: record might be existing as it was added to a cloneStore
if (existingRecord) {
Expand Down

0 comments on commit 730dccf

Please sign in to comment.