From ed0730df22a40abccb820313b12c7c403927cd14 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 13 Jan 2025 12:17:55 +0100 Subject: [PATCH 1/2] feat: refs #8197 useHasContent and use in VnSection and RightMenu --- src/components/common/RightMenu.vue | 18 +++--------------- src/components/common/VnSection.vue | 8 ++++++-- src/composables/useHasContent.js | 24 ++++++++++++++++++++++++ src/pages/Order/Card/OrderCatalog.vue | 22 ++++++++++++---------- 4 files changed, 45 insertions(+), 27 deletions(-) create mode 100644 src/composables/useHasContent.js diff --git a/src/components/common/RightMenu.vue b/src/components/common/RightMenu.vue index 32dc2874d..9512d32d4 100644 --- a/src/components/common/RightMenu.vue +++ b/src/components/common/RightMenu.vue @@ -1,29 +1,17 @@