Skip to content
Snippets Groups Projects
Commit beed03bf authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Remove unused permission checks

parent 0ec38679
No related branches found
No related tags found
1 merge request!1314Resolve "Allow for creation of simple events"
Pipeline #147490 passed with warnings
......@@ -64,10 +64,7 @@ import EditButton from "../../generic/buttons/EditButton.vue";
</template>
<!-- eslint-disable-next-line vue/valid-v-slot -->
<template
v-if="checkPermission('core.create_custom_events')"
#persons.field="{ attrs, on }"
>
<template #persons.field="{ attrs, on }">
<v-autocomplete
multiple
:items="persons"
......@@ -80,10 +77,7 @@ import EditButton from "../../generic/buttons/EditButton.vue";
</template>
<!-- eslint-disable-next-line vue/valid-v-slot -->
<template
v-if="checkPermission('core.create_custom_events')"
#groups.field="{ attrs, on }"
>
<template #groups.field="{ attrs, on }">
<v-autocomplete
multiple
:items="groups"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment