On FE2, the federation protocol is not persistent as the list of linked organizations is not added to the database. This means that the app might forget that there was a linked organization if it is closed and reopen.
Expected behavior
The linked organization should stay even after closing and reopening the app.
How to reproduce
Go to the linked organizations page
Link to another organization
The organization is displayed in the list of linked organizations (in the linked organizations page)
Close and open the app
The organization is not displayed anymore in the linked organizations page
How to solve this issue
It should be as simple as adding the linkedLaos map from LinkedOrganizationsRepository.kt to the database. The other variables of this repository are temporary for the connection so they don't need to be persistent.
Description (Actual behavior)
On FE2, the federation protocol is not persistent as the list of linked organizations is not added to the database. This means that the app might forget that there was a linked organization if it is closed and reopen.
Expected behavior
The linked organization should stay even after closing and reopening the app.
How to reproduce
How to solve this issue
It should be as simple as adding the linkedLaos map from LinkedOrganizationsRepository.kt to the database. The other variables of this repository are temporary for the connection so they don't need to be persistent.