Hi,
I have the following setup in my app:
table1 gets data via local_query1
delete from table1 triggers local_query2, which calls global_query1.
local_query2’s onSuccess is set to trigger local_query1 so that the data in table1 is refreshed:
(delete from table1→local_query2→global_query1)
What I expect to happen: When a user deletes an entry from table1 the table is refreshed.
This works as expected, unless global_query1 has the confirmation modal set:

When that modal is set local_query2 calls it’s onSuccess immediately, which means table1 gets refreshed before the row is deleted.
Am I wrong to assume that onSuccess shouldn’t be called until global_query1 has actually run?