fixed bug: ref_count not updated on user-bin-list-loaded
This commit is contained in:
@@ -87,7 +87,7 @@ function addToBinListIfLoggedIn(state){
|
|||||||
i(s, {id: s.bin_id, name: s.db[s.bin_id].model.name});
|
i(s, {id: s.bin_id, name: s.db[s.bin_id].model.name});
|
||||||
// causes problems because ref_count isn't properly updated:
|
// causes problems because ref_count isn't properly updated:
|
||||||
//s.login.bin_ids.push(s.bin_id);
|
//s.login.bin_ids.push(s.bin_id);
|
||||||
ref(s, s.login.bind_ids, s.login.bind_ids.length, s.bin_id);
|
ref(s, s.login.bin_ids, s.login.bin_ids.length, s.bin_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user