This commit is contained in:
thororen1234 2024-06-24 18:15:47 -04:00
parent 3e52910e9b
commit 59c0b604a5
2 changed files with 2 additions and 24 deletions

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: ".then($1=>{$2dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
match: /\.then\((\i)=>(\i\.\i)\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
replace: ".then($1=>{$2.dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
}
},
{