From b79f297692eeca5e774a1dd124cec2b3bc41b977 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 8 May 2023 22:04:05 +0300 Subject: [PATCH] fix double pushbuttons in the draft buttons --- src/components/popover/popover.js | 3 ++ src/components/popover/popover.vue | 3 +- .../settings_modal/helpers/draft_buttons.vue | 40 ++++++------------- 3 files changed, 18 insertions(+), 28 deletions(-) diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index d44b266b..bc078533 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -45,6 +45,9 @@ const Popover = { // Lets hover popover stay when clicking inside of it stayOnClick: Boolean, + // Use styled button (to avoid nested buttons) + normalButton: Boolean, + triggerAttrs: { type: Object, default: {} diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index fd0fd821..1a4bffd9 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -5,7 +5,8 @@ >