fix: use crmUsers in comment box

(cherry picked from commit 85191e10c881490ae420156798a320935a9c6fa2)
This commit is contained in:
Shariq Ansari 2025-06-20 16:41:08 +05:30 committed by Mergify
parent c3a89c564b
commit 7fbda3ec9c
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ function removeAttachment(attachment) {
const users = computed(() => { const users = computed(() => {
return ( return (
usersList.data usersList.data?.crmUsers
?.filter((user) => user.enabled) ?.filter((user) => user.enabled)
.map((user) => ({ .map((user) => ({
label: user.full_name.trimEnd(), label: user.full_name.trimEnd(),

View File

@ -60,7 +60,7 @@ import {
showSettings, showSettings,
activeSettingsPage, activeSettingsPage,
} from '@/composables/settings' } from '@/composables/settings'
import { Dialog, Button, Avatar } from 'frappe-ui' import { Dialog, Avatar } from 'frappe-ui'
import { ref, markRaw, computed, watch, h } from 'vue' import { ref, markRaw, computed, watch, h } from 'vue'
const { isManager, isAgent, getUser } = usersStore() const { isManager, isAgent, getUser } = usersStore()