More coffee to js fixes
This commit is contained in:
1 parent
91626a3de5
commit
b9e30e97d8
1 file changed
+2
-2
+2
-2
@@ -891,7 +891,7 @@ function runDeclarations(sessionContext, declarations) {
|
||||
let keys;
|
||||
if (Array.isArray(path[path.length - 1])) {
|
||||
keys = {};
|
||||
for (let i = 0; i < path[path.length - 1]; i += 2) {
|
||||
for (let i = 0; i < path[path.length - 1].length; i += 2) {
|
||||
keys[path[path.length - 1][i].join(".")] =
|
||||
path[path.length - 1][i + 1];
|
||||
}
|
||||
@@ -1668,7 +1668,7 @@ function generateSetRpcRequest(sessionContext) {
|
||||
|
||||
// Downloads
|
||||
for (const [p, t] of syncState.downloadsDownload) {
|
||||
const attrs = deviceData.attrs.get(p);
|
||||
const attrs = deviceData.attributes.get(p);
|
||||
if (!(attrs && attrs.value && t <= attrs.value[1][0])) {
|
||||
const fileTypeAttrs = deviceData.attributes.get(
|
||||
deviceData.paths.get(p.slice(0, -1).concat("FileType"))
|
||||
|
||||
Reference in new issue
Block a user