mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fixed crash at startup when there is no data cached for applications. Fixes #10
This commit is contained in:
@@ -279,7 +279,7 @@ class W3DHub
|
|||||||
hash[:applications] << app unless app_in_array
|
hash[:applications] << app unless app_in_array
|
||||||
end
|
end
|
||||||
|
|
||||||
Store.applications = Api::Applications.new(hash.to_json)
|
Store.applications = Api::Applications.new(hash.to_json) unless hash[:applications].empty?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user