This commit is contained in:
parent
8925c6f518
commit
9a8327c51a
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Taskbar < ApplicationModel
|
||||||
|
|
||||||
# find other same open tasks
|
# find other same open tasks
|
||||||
if !preferences
|
if !preferences
|
||||||
preferences = {}
|
self.preferences = {}
|
||||||
end
|
end
|
||||||
preferences[:tasks] = []
|
preferences[:tasks] = []
|
||||||
Taskbar.where(key: key).order(:created_at).each { |taskbar|
|
Taskbar.where(key: key).order(:created_at).each { |taskbar|
|
||||||
|
|
Loading…
Reference in a new issue