Skip to content

Commit

Permalink
refactor: #7090 for DynamicDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 14, 2025
1 parent 08cc312 commit b70064c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/primevue/src/dynamicdialog/DynamicDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
</template>

<script>
import { UniqueComponentId } from '@primevue/core/utils';
import Dialog from 'primevue/dialog';
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
import BaseDynamicDialog from './BaseDynamicDialog.vue';
Expand All @@ -32,7 +31,7 @@ export default {
currentInstance: null,
mounted() {
this.openListener = ({ instance }) => {
const key = UniqueComponentId() + '_dynamic_dialog';
const key = this.$attrSelector + '_dynamic_dialog';
instance.visible = true;
instance.key = key;
Expand Down

0 comments on commit b70064c

Please sign in to comment.