Skip to content

Commit 92ebf44

Browse files
committed
load object store settings from local storage whenever the active store or origin changes
1 parent 72f3e2b commit 92ebf44

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
55

66
## [Unreleased]
77

8+
### Fixed
9+
10+
- Load object store settings from local storage whenever the object store changes.
11+
812
## [1.1.1] - 2025-12-10
913

1014
### Fixed

src/devtools/components/main-content/object-store-view/table-settings/context.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
createContext,
44
createEffect,
55
FlowProps,
6-
onMount,
76
useContext,
87
} from "solid-js";
98
import { createStore } from "solid-js/store";
@@ -40,7 +39,7 @@ export function TableSettingsContextProvider(props: FlowProps) {
4039
);
4140
const { origin } = useOriginContext();
4241
const { activeObjectStore } = useActiveObjectStoreContext();
43-
onMount(() => {
42+
createEffect(() => {
4443
const currentOrigin = origin();
4544
const activeStore = activeObjectStore();
4645
if (currentOrigin && activeStore) {

0 commit comments

Comments
 (0)