diff --git a/src/components/panel/Panel.vue b/src/components/panel/Panel.vue index fa550f304..a7f00352b 100755 --- a/src/components/panel/Panel.vue +++ b/src/components/panel/Panel.vue @@ -42,14 +42,6 @@ export default { this.d_collapsed = newValue; } }, - computed: { - ariaId() { - return UniqueComponentId(); - }, - containerClass() { - return ['p-panel p-component', {'p-panel-toggleable': this.toggleable}]; - } - }, methods: { toggle(event) { this.d_collapsed = !this.d_collapsed; @@ -60,6 +52,14 @@ export default { }); } }, + computed: { + ariaId() { + return UniqueComponentId(); + }, + containerClass() { + return ['p-panel p-component', {'p-panel-toggleable': this.toggleable}]; + } + }, directives: { 'ripple': Ripple }