Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
fix(dashboard): roallback & compore bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mydearxym committed Jul 13, 2022
1 parent 679335e commit 7da329b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containers/thread/DashboardThread/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ const DashboardThread = T.model('DashboardThread', {
const widgetsSizeTouched = _isChanged('widgetsSize')

const widgetsThreadsTouched = !equals(
toJS(slf.widgetsThreads),
toJS(init.widgetsThreads),
toJS(slf.widgetsThreads).sort(),
toJS(init.widgetsThreads).sort(),
)

return {
Expand Down Expand Up @@ -299,7 +299,7 @@ const DashboardThread = T.model('DashboardThread', {
return
}

const initValue = slf.initSettings[field]
const initValue = toJS(slf.initSettings[field])

// @ts-ignore
self[field] = initValue
Expand Down

0 comments on commit 7da329b

Please sign in to comment.