mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Update for Timeline
This commit is contained in:
parent
719841423e
commit
663765689c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue