Skip to content

Commit 4bbc8b7

Browse files
committed
style: condition readability
1 parent 8ebeb2d commit 4bbc8b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ export default function vueformPluginToggleConfirm() {
144144
}
145145

146146
const handleChange = (value) => {
147-
if ((value && !confirmOnText.value && !confirmText.value) ||
147+
if (
148+
(value && !confirmOnText.value && !confirmText.value) ||
148149
(!value && !confirmOffText.value && !confirmText.value))
149150
{
150151
toggle()

0 commit comments

Comments
 (0)