feat(communication): add room visibility and project chat controls
This commit is contained in:
@@ -1717,6 +1717,16 @@ export const useDataStore = defineStore('data', () => {
|
||||
key: "customerRef",
|
||||
label: "Referenz des Kunden",
|
||||
inputType: "text"
|
||||
},{
|
||||
key: "chatEnabled",
|
||||
label: "Projektchat aktiviert",
|
||||
inputType: "bool",
|
||||
component: active,
|
||||
defaultValue: true,
|
||||
disabledFunction: () => {
|
||||
const auth = useAuthStore()
|
||||
return !auth.user?.is_admin && !auth.hasPermission('organisation.projects.write')
|
||||
}
|
||||
},{
|
||||
key: "notes",
|
||||
label: "Notizen",
|
||||
|
||||
Reference in New Issue
Block a user