diff --git a/composer.json b/composer.json index f1895d881..d525945f2 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "version": "2.0.0-rc.10", + "version": "2.0.0-rc.11", "name": "badaso/core", "description": "The First Open-Source Laravel Vue headless CMS (PWA dashboard + CRUD + API generator & more) for more productivity !", "keywords": [ diff --git a/src/Config/lfm.php b/src/Config/lfm.php index d908a25ba..26a583395 100644 --- a/src/Config/lfm.php +++ b/src/Config/lfm.php @@ -49,7 +49,7 @@ 'folder_categories' => [ 'file' => [ - 'folder_name' => 'public/files', + 'folder_name' => 'files', 'startup_view' => 'list', 'max_size' => 50000, // size in KB 'valid_mime' => [ diff --git a/src/resources/js/store/modules/badaso.js b/src/resources/js/store/modules/badaso.js index 8b9b5922d..2c7e57b90 100644 --- a/src/resources/js/store/modules/badaso.js +++ b/src/resources/js/store/modules/badaso.js @@ -143,6 +143,7 @@ export default { menu: res.data.menu, menuItems: menuItems, }; + state.meta = res.meta }) .catch((err) => {}); }, @@ -151,6 +152,7 @@ export default { .component() .then((res) => { state.componentList = res.data.components; + state.meta = res.meta }) .catch((err) => {}); }, @@ -159,6 +161,7 @@ export default { .configurationGroups() .then((res) => { state.groupList = res.data.groups; + state.meta = res.meta }) .catch((err) => {}); }, @@ -176,6 +179,7 @@ export default { .user() .then((res) => { state.user = res.data.user; + state.meta = res.meta }) .catch((err) => {}); }, @@ -197,6 +201,7 @@ export default { .verify() .then((res) => { state.verified = true; + state.meta = res.meta }) .catch((err) => { if (err.status) { @@ -213,6 +218,9 @@ export default { SET_GLOBAL_STATE(state, { key, value }) { state[key] = value; }, + SET_META(state, meta) { + state.meta = meta + } }, actions: {}, getters: {