Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions src/Components/Bullet/Bullet.vue

This file was deleted.

13 changes: 7 additions & 6 deletions src/Components/Signers/Signer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
</template>
<template #subname>
<div class="signer-subname">
<Bullet v-for="method in identifyMethodsNames" :key="method" :name="method" />
<NcChip v-for="method in identifyMethodsNames"
:key="method"
:text="method"
:no-close="true" />
<NcChip :text="signer.statusText"
:type="chipType"
:icon-path="statusIconPath"
Expand Down Expand Up @@ -48,8 +51,6 @@ import NcAvatar from '@nextcloud/vue/components/NcAvatar'
import NcChip from '@nextcloud/vue/components/NcChip'
import NcListItem from '@nextcloud/vue/components/NcListItem'

import Bullet from '../Bullet/Bullet.vue'

import { useFilesStore } from '../../store/files.js'

export default {
Expand All @@ -59,10 +60,9 @@ export default {
NcAvatar,
NcChip,
DragVertical,
Bullet,
},
props: {
currentSigner: {
signerIndex: {
type: Number,
required: true,
},
Expand Down Expand Up @@ -94,7 +94,8 @@ export default {
},
computed: {
signer() {
return this.filesStore.getFile().signers[this.currentSigner]
const file = this.filesStore.getFile()
return file?.signers?.[this.signerIndex]
},
signerName() {
return this.signer.displayName
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Signers/Signers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<transition-group name="signer-list" tag="div">
<Signer v-for="(signer, index) in sortableSigners"
:key="signer.identify || index"
:current-signer="index"
:signer-index="index"
:event="event"
:draggable="!signer.signed">
<template #actions="{closeActions}">
Expand All @@ -27,7 +27,7 @@
<ul v-else>
<Signer v-for="(signer, index) in signers"
:key="signer.identify || index"
:current-signer="index"
:signer-index="index"
:event="event">
<template #actions="{closeActions}">
<slot name="actions" :signer="signer" :closeActions="closeActions" />
Expand Down