From 0be05110a877f5b7b044290617270521ec402313 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 14 Jan 2025 11:12:08 +0000 Subject: [PATCH] refactor: #7090 for OrderList --- packages/primevue/src/orderlist/OrderList.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/primevue/src/orderlist/OrderList.vue b/packages/primevue/src/orderlist/OrderList.vue index 155fa7d7b..0dcc6a86e 100755 --- a/packages/primevue/src/orderlist/OrderList.vue +++ b/packages/primevue/src/orderlist/OrderList.vue @@ -34,7 +34,7 @@ import { find, findSingle, scrollInView, setAttribute } from '@primeuix/utils/dom'; import { findIndexInList, isNotEmpty } from '@primeuix/utils/object'; -import { UniqueComponentId } from '@primevue/core/utils'; import AngleDoubleDownIcon from '@primevue/icons/angledoubledown'; import AngleDoubleUpIcon from '@primevue/icons/angledoubleup'; import AngleDownIcon from '@primevue/icons/angledown'; @@ -90,15 +89,9 @@ export default { list: null, data() { return { - id: this.$attrs.id, d_selection: this.selection }; }, - watch: { - '$attrs.id': function (newValue) { - this.id = newValue || UniqueComponentId(); - } - }, beforeUnmount() { this.destroyStyle(); }, @@ -109,8 +102,6 @@ export default { } }, mounted() { - this.id = this.id || UniqueComponentId(); - if (this.responsive) { this.createStyle(); }