Last Fix I hope

This commit is contained in:
thororen1234 2024-06-21 20:34:40 -04:00
parent a001e74ea5
commit 3afc6c6d29

View file

@ -62,8 +62,8 @@ export default definePlugin({
{
find: "fetchRelationships(){",
replacement: {
match: /\.then\(\i=>\i\.\i\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\);/,
replace: "$&$self.getContacts($2)}"
match: /\.then\((\i)=>(\i\.\i\.)dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
replace: ".then($1=>{$2dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
}
},
{