feat(companies): add notes and history to company details (#14401)

This commit is contained in:
Sojan Jose
2026-05-11 23:15:25 +05:30
committed by GitHub
parent f6be0d80ef
commit 086aa36ffe
16 changed files with 440 additions and 31 deletions
@@ -134,10 +134,13 @@ export const createVuexStore = options => {
* @returns {Function} Pinia store composable
*/
export const createPiniaStore = options => {
const { name, API, actions, getters } = options;
const { name, API, actions, getters, state } = options;
return defineStore(name.toLowerCase(), {
state: createInitialState,
state: () => ({
...createInitialState(),
...(state ? state() : {}),
}),
getters: {
...createGetters(),