From cf54deedbfefc9e2db008902d80edc3c9641d02b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 28 Nov 2023 06:22:39 +0000 Subject: [PATCH] fix: render label span only if default slot is defined --- packages/nc-gui/components/nc/Switch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/nc/Switch.vue b/packages/nc-gui/components/nc/Switch.vue index 31955bd799..7551b87b83 100644 --- a/packages/nc-gui/components/nc/Switch.vue +++ b/packages/nc-gui/components/nc/Switch.vue @@ -12,7 +12,7 @@ const onChange = (e: boolean) => {