mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
feature/gabinete-search
This commit is contained in:
@@ -26,7 +26,10 @@ export function GET({key, localStorage, instance}) {
|
||||
}
|
||||
|
||||
} else {
|
||||
return JSON.parse(localStorage.getItem(prefix() + key))
|
||||
const restoredData = JSON.parse(localStorage.getItem(prefix() + key))
|
||||
Object.assign(instance, restoredData);
|
||||
|
||||
return restoredData
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user