Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4092 from toggl-open-source/fix-logged-out-loadin…
Browse files Browse the repository at this point in the history
…g-crash

Added user check to loading time entries list
  • Loading branch information
NghiaTranUIT committed May 26, 2020
2 parents 491076b + 61c2ef5 commit 911da42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ void Context::updateUI(const UIElements &what) {
what.time_entry_editor_field);
}

if (what.display_time_entries) {
if (what.display_time_entries && user_) {
UI()->DisplayTimeEntryList(
what.open_time_entry_list,
time_entry_views,
Expand Down

0 comments on commit 911da42

Please sign in to comment.