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