Commit b5dbd5a3 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[dev] small fixes

parent 0614de16
...@@ -29,13 +29,13 @@ instance decodeNodePoly :: (DecodeJson a) ...@@ -29,13 +29,13 @@ instance decodeNodePoly :: (DecodeJson a)
hyperdata <- obj .: "hyperdata" hyperdata <- obj .: "hyperdata"
hyperdata' <- decodeJson hyperdata hyperdata' <- decodeJson hyperdata
pure $ NodePoly { id : id pure $ NodePoly { id
, typename : typename , date
, userId : userId
, parentId : parentId
, name : name
, date : date
, hyperdata: hyperdata' , hyperdata: hyperdata'
, name
, parentId
, typename
, userId
} }
newtype HyperdataList = HyperdataList { preferences :: String } newtype HyperdataList = HyperdataList { preferences :: String }
......
...@@ -9,7 +9,7 @@ exports._makeRequest = function() { ...@@ -9,7 +9,7 @@ exports._makeRequest = function() {
exports._openCache = function(cacheName) { exports._openCache = function(cacheName) {
return function() { return function() {
return caches.open(cacheName); return window.caches.open(cacheName);
} }
} }
......
...@@ -41,7 +41,7 @@ versionCpt = R.hooksComponent "G.C.A.version" cpt ...@@ -41,7 +41,7 @@ versionCpt = R.hooksComponent "G.C.A.version" cpt
pure $ case version == versionBack of pure $ case version == versionBack of
true -> H.a { className: "fa fa-check-circle-o" true -> H.a { className: "fa fa-check-circle-o"
, "text-decoration": "none" , textDecoration: "none"
, title: "Versions match: frontend (" , title: "Versions match: frontend ("
<> version <> version
<> "), backend (" <> "), backend ("
...@@ -49,7 +49,7 @@ versionCpt = R.hooksComponent "G.C.A.version" cpt ...@@ -49,7 +49,7 @@ versionCpt = R.hooksComponent "G.C.A.version" cpt
<> ")" <> ")"
} [] } []
false -> H.a { className: "fa fa-exclamation-triangle" false -> H.a { className: "fa fa-exclamation-triangle"
, "text-decoration": "none" , textDecoration: "none"
, title: "Versions mismatch: frontend (" , title: "Versions mismatch: frontend ("
<> version <> version
<> "), backend (" <> "), backend ("
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment