Dateimodal überarbeiten und Dateitypen pflegen
This commit is contained in:
@@ -50,6 +50,10 @@ const type = route.params.type
|
||||
|
||||
const dataType = dataStore.dataTypes[type]
|
||||
const canCreate = computed(() => {
|
||||
if (type === "filetags") {
|
||||
return true
|
||||
}
|
||||
|
||||
if (type === "members") {
|
||||
return has("members-create") || has("customers-create")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user