Refactor #3965 - Update for Timeline

pull/4052/head
Tuğçe Küçükoğlu 2023-06-13 16:24:14 +03:00
parent 719841423e
commit 663765689c
1 changed files with 2 additions and 2 deletions

View File

@ -20,12 +20,12 @@
</template>
<script>
import BaseComponent from 'primevue/basecomponent';
import { ObjectUtils } from 'primevue/utils';
import BaseTimeline from './BaseTimeline.vue';
export default {
name: 'Timeline',
extends: BaseComponent,
extends: BaseTimeline,
methods: {
getKey(item, index) {
return this.dataKey ? ObjectUtils.resolveFieldData(item, this.dataKey) : index;