Connect 2 mikrotik routers wirelessly (PTP)

So i have 2 mikrotik routers located at 2 separate locations.

Each location have 2 independent ISPS and different internal network from each other.
Location A= 192.168.1.x
Location B= 192.168.2.x

Both routers are connected wirelessly using Point to Point (2 Ubiquiti devices in bridged mode). What i wanted to achieve is that in case Internet in Location A would be both down, Location B would be able to provide internet to Location A and vise versa.

But im stuck if this is the right approach and what configurations are needed to achieve this.
Untitled Diagram.jpg