Skip to content
Closed
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
842 changes: 560 additions & 282 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@nextcloud/logger": "^2.7.0",
"@nextcloud/moment": "^1.2.2",
"@nextcloud/paths": "^2.1.0",
"@nextcloud/router": "^2.2.0",
"@nextcloud/vue": "^7.12.7",
"@nextcloud/router": "^2.1.2",
"@nextcloud/vue": "^8.0.0",
"@nextcloud/vue-dashboard": "^2.0.1",
"@riophae/vue-treeselect": "^0.4.0",
"@vue/babel-preset-app": "^5.0.8",
Expand Down
14 changes: 7 additions & 7 deletions src/components/CertificateSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@

<template>
<div>
<Multiselect
<NcSelect
:allow-empty="false"
:options="aliases"
:searchable="false"
:value="alias"
:placeholder="t('mail', 'Select an alias')"
label="name"
track-by="id"
input-id="select-id"
@select="handleAlias" />
<Multiselect
<NcSelect
v-if="alias !== null"
v-model="savedCertificate"
:options="smimeCertOptions"
:searchable="false"
label="label"
track-by="id"
input-id="select-id"
@select="selectCertificate" />
<Button
type="primary"
Expand All @@ -50,8 +50,8 @@
</template>

<script>
import { NcMultiselect as Multiselect, NcButton as Button } from '@nextcloud/vue'
import { compareSmimeCertificates } from '../util/smime.js'
import { NcSelect, NcButton as Button } from '@nextcloud/vue'
import { compareSmimeCertificates } from '../util/smime'
import { mapGetters } from 'vuex'
import { showError, showSuccess } from '@nextcloud/dialogs'
import Logger from '../logger.js'
Expand All @@ -60,7 +60,7 @@ import moment from '@nextcloud/moment'
export default {
name: 'CertificateSettings',
components: {
Multiselect,
NcSelect,
Button,
},
props: {
Expand Down
Loading