fix(desktop): repair dropped team membership links at boot and on edit (#5904)