mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
optional but always on transfer
This commit is contained in:
@@ -25,9 +25,9 @@ export default function useIncomingInterInstanceTransfer() {
|
||||
}
|
||||
try {
|
||||
/*
|
||||
The source page already asked before adding settingsTransfer. A present
|
||||
transfer param is therefore an explicit instruction to replace the local
|
||||
settings cookie without asking again on the destination server.
|
||||
The source page only adds settingsTransfer when its saved Page setting
|
||||
allows it. A present transfer param is therefore an explicit instruction
|
||||
to replace the local settings cookie without asking again here.
|
||||
*/
|
||||
const nextSettings = base64UrlDecodeJson(transfer);
|
||||
settings.saveAll(nextSettings && typeof nextSettings === 'object' ? nextSettings : {});
|
||||
|
||||
Reference in New Issue
Block a user