mirror of
https://github.com/directus/directus.git
synced 2026-01-28 04:58:07 -05:00
Hide delete button on admin / public
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</v-button>
|
||||
</template>
|
||||
<template #actions>
|
||||
<v-dialog v-model="confirmDelete">
|
||||
<v-dialog v-model="confirmDelete" v-if="[1, 2].includes(+primaryKey) === false">
|
||||
<template #activator="{ on }">
|
||||
<v-button rounded icon class="action-delete" :disabled="item === null" @click="on">
|
||||
<v-icon name="delete" />
|
||||
|
||||
Reference in New Issue
Block a user