feat: notifications

This commit is contained in:
Jannat Patel
2024-05-22 20:40:02 +05:30
parent 8e1b871f87
commit f38aebbc9c
18 changed files with 4683 additions and 2102 deletions

View File

@@ -11,7 +11,21 @@ export const usersStore = defineStore('lms-users', () => {
},
})
const allUsers = createResource({
url: 'lms.lms.api.get_all_users',
cache: ['allUsers'],
/* transform(data) {
return data.map((user) => {
return {
value: user.name,
label: user.full_name.trimEnd(),
}
})
}, */
})
return {
userResource,
allUsers,
}
})