From fd27c78c4b85ff889833bd247ab0cfc53ad7b176 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 14 Jan 2019 22:58:23 +0300 Subject: fixes, guards --- src/modules/statuses.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/statuses.js') diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 88791191..73d034f1 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -300,7 +300,7 @@ export const mutations = { }, clearTimeline (state, { timeline }) { const timelineObject = typeof timeline === 'object' ? timeline : state.timelines[timeline] - emptyTl(timelineObject, state.timelines[timeline].userId) + emptyTl(timelineObject, timeline.userId) }, setFavorited (state, { status, value }) { const newStatus = state.allStatusesObject[status.id] -- cgit v1.2.3-70-g09d2