Skip to content

Commit

Permalink
Admin/MaterialList add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pmattmann committed Jul 13, 2024
1 parent 3693372 commit 5d04cb4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/src/components/material/MaterialListsEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
>
<template #activator="{ on }">
<v-list-item exact-path v-on="on">
<v-list-item-action>
<UserAvatar
v-if="materialList.campCollaboration != null"
size="24"
:camp-collaboration="materialList.campCollaboration()"
omit-sr
/>
<v-icon v-else>mdi-format-list-bulleted-square</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>{{ materialList.name }}</v-list-item-title>
</v-list-item-content>
Expand All @@ -20,12 +29,13 @@
</v-list>
</template>
<script>
import UserAvatar from '@/components/user/UserAvatar.vue'
import ButtonEdit from '@/components/buttons/ButtonEdit.vue'
import DialogMaterialListEdit from '@/components/campAdmin/DialogMaterialListEdit.vue'
export default {
name: 'MaterialListsEdit',
components: { ButtonEdit, DialogMaterialListEdit },
components: { UserAvatar, ButtonEdit, DialogMaterialListEdit },
props: {
materialLists: {
type: Object,
Expand Down

0 comments on commit 5d04cb4

Please sign in to comment.