Skip to content

Commit

Permalink
fix(frameworks): fixed issue when passed store instance became differ…
Browse files Browse the repository at this point in the history
…ent in f7.store
  • Loading branch information
nolimits4web committed Feb 1, 2021
1 parent ce8b63b commit b20b05d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/react/shared/f7.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const f7init = (rootEl, params = {}, init = true) => {
el: rootEl,
init,
});
if (typeof params.store !== 'undefined') f7Params.store = params.store;
if (!f7Params.routes) f7Params.routes = [];

if (f7Params.userAgent && (f7Params.theme === 'auto' || !f7Params.theme)) {
Expand Down
1 change: 1 addition & 0 deletions src/svelte/shared/f7.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const f7init = (rootEl, params = {}, init = true) => {
el: rootEl,
init,
});
if (typeof params.store !== 'undefined') f7Params.store = params.store;
if (!f7Params.routes) f7Params.routes = [];

if (f7Params.userAgent && (f7Params.theme === 'auto' || !f7Params.theme)) {
Expand Down
1 change: 1 addition & 0 deletions src/vue/shared/f7.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const f7init = (rootEl, params = {}, init = true) => {
el: rootEl,
init,
});
if (typeof params.store !== 'undefined') f7Params.store = params.store;
if (!f7Params.routes) f7Params.routes = [];

if (f7Params.userAgent && (f7Params.theme === 'auto' || !f7Params.theme)) {
Expand Down

0 comments on commit b20b05d

Please sign in to comment.