pull/2677/head
mertsincan 2022-06-15 09:13:35 +01:00
parent 3c19575b77
commit 9567b53e41
1 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
</template>
<script>
import { ObjectUtils, UniqueComponentId } from 'primevue/utils';
import { UniqueComponentId } from 'primevue/utils';
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
import Dialog from 'primevue/dialog';
@ -65,8 +65,7 @@ export default {
this.currentInstance = null;
},
getTemplateItems(template) {
const items = ObjectUtils.getItemValue(template);
return Array.isArray(items) ? items : [items];
return Array.isArray(template) ? template : [template];
}
},
components: {