mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
fix(frontend): fix mis-matched state errors (#9)
implenmented a store for each global item and tied it to an event bus and used the listener on the requests object to intercept responses from the API and run the appripriate get call when updates were detected.
This commit is contained in:
@@ -62,9 +62,7 @@
|
||||
|
||||
if (data) {
|
||||
toast.success("Location created");
|
||||
navigateTo(`/location/${data.id}`);
|
||||
}
|
||||
|
||||
reset();
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user