From 02bd55492c514ca7025ee2f4665593f93752b148 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 4 Sep 2023 22:49:02 +0100 Subject: [PATCH] Refactor #4384 --- components/lib/togglebutton/ToggleButton.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/togglebutton/ToggleButton.vue b/components/lib/togglebutton/ToggleButton.vue index d79aa9f5e..6e9fe8ee0 100755 --- a/components/lib/togglebutton/ToggleButton.vue +++ b/components/lib/togglebutton/ToggleButton.vue @@ -1,5 +1,5 @@ @@ -88,7 +88,7 @@ export default { label() { return this.hasLabel ? (this.modelValue ? this.onLabel : this.offLabel) : ' '; }, - ptOptions() { + getPTOptions() { return { context: { focused: this.focused,