You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Merges the description in the normal object, this is done to keep the layout consistent with the market page, which is also flattened.
Object.assign(value,value.description);
I was writing some code for steamdb extension, and assumed the properties I saw on the item were present, but I should have been looking at item.description instead.
Is this merging actually needed?
The text was updated successfully, but these errors were encountered:
On inventory page, m_rgAssets holds only basic info where the bulk of the data is inside description. On the market page, m_rgAssets contains everything directly and there the description is empty. It's likely possible to remove this merging entirely, but then all uses need to be checked as the properties are likely under description.
Yeah, I think it's possible to disable merging, but I think all usages need to be well checked, I think the inventory stuff is pretty easy to fix as it's mostly under the description.
This:
Steam-Economy-Enhancer/code.user.js
Lines 2215 to 2216 in 8f90b99
I was writing some code for steamdb extension, and assumed the properties I saw on the
item
were present, but I should have been looking atitem.description
instead.Is this merging actually needed?
The text was updated successfully, but these errors were encountered: