[-] Remove method to add extra serialized props. This does not work, and the prop being added was already included.
This commit is contained in:
parent
18199d8120
commit
517e22381a
1 changed files with 5 additions and 43 deletions
|
|
@ -11,13 +11,6 @@ exports.ExposeStore = (moduleRaidStr) => {
|
|||
window.Store.SendMessage = window.mR.findModule("sendTextMsgToChat")[0].sendTextMsgToChat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds extra props to the serialization of a model
|
||||
*/
|
||||
exports.LoadExtraProps = (model, props) => {
|
||||
Store[model].models[0].__props = Store[model].models[0].__props.concat(props);
|
||||
}
|
||||
|
||||
exports.LoadCustomSerializers = () => {
|
||||
window.WWebJS = {};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue