From 292424bc1f2fa25efc2ccefd6a6bdba56242ac9a Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 21 Sep 2020 16:12:33 +0300 Subject: [PATCH] Refactor order --- src/components/panel/Panel.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 }