summaryrefslogtreecommitdiffstats
path: root/src/components/OrgChart.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/OrgChart.vue')
-rw-r--r--src/components/OrgChart.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/OrgChart.vue b/src/components/OrgChart.vue
index 289eac52..63f03bd4 100644
--- a/src/components/OrgChart.vue
+++ b/src/components/OrgChart.vue
@@ -4,14 +4,14 @@
<h3>
{{ t('contacts', 'Chart') }}:
</h3>
- <Multiselect v-model="chart"
+ <NcSelect v-model="chart"
class="chart-selection"
:disabled="data.length === 1"
:options="charts"
:allow-empty="false"
:searchable="false"
:placeholder="placeholder"
- track-by="id"
+ input-id="select-chart-input"
label="label"
@input="chartChanged" />
</div>
@@ -23,7 +23,7 @@
import * as d3 from 'd3'
import ChartTemplate from './ChartTemplate.vue'
import { getLocale } from '@nextcloud/l10n'
-import { NcMultiselect as Multiselect } from '@nextcloud/vue'
+import { NcSelect } from '@nextcloud/vue'
import { OrgChart } from 'd3-org-chart'
import router from './../router/index.js'
import Vue from 'vue'
@@ -31,7 +31,7 @@ import Vue from 'vue'
export default {
name: 'OrgChart',
components: {
- Multiselect,
+ NcSelect,
},
props: {
data: {