From f05316669d2bcc101685392e4e9b9ec5e2b4eac7 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Sun, 19 Nov 2023 12:47:51 +0100 Subject: [PATCH] Move JSON defs for help features to assets (#2178) Follow-up for #2088. I forgot that during review, let's do it now. Signed-off-by: Florian Hotze --- .../developer => assets/definitions}/help/help-faq-defs.json | 0 .../definitions}/help/help-qstart-defs.json | 0 .../web/src/components/developer/help-sidebar.vue | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename bundles/org.openhab.ui/web/src/{components/developer => assets/definitions}/help/help-faq-defs.json (100%) rename bundles/org.openhab.ui/web/src/{components/developer => assets/definitions}/help/help-qstart-defs.json (100%) diff --git a/bundles/org.openhab.ui/web/src/components/developer/help/help-faq-defs.json b/bundles/org.openhab.ui/web/src/assets/definitions/help/help-faq-defs.json similarity index 100% rename from bundles/org.openhab.ui/web/src/components/developer/help/help-faq-defs.json rename to bundles/org.openhab.ui/web/src/assets/definitions/help/help-faq-defs.json diff --git a/bundles/org.openhab.ui/web/src/components/developer/help/help-qstart-defs.json b/bundles/org.openhab.ui/web/src/assets/definitions/help/help-qstart-defs.json similarity index 100% rename from bundles/org.openhab.ui/web/src/components/developer/help/help-qstart-defs.json rename to bundles/org.openhab.ui/web/src/assets/definitions/help/help-qstart-defs.json diff --git a/bundles/org.openhab.ui/web/src/components/developer/help-sidebar.vue b/bundles/org.openhab.ui/web/src/components/developer/help-sidebar.vue index f4d58940b5..22fcd5c7a2 100644 --- a/bundles/org.openhab.ui/web/src/components/developer/help-sidebar.vue +++ b/bundles/org.openhab.ui/web/src/components/developer/help-sidebar.vue @@ -168,8 +168,8 @@ export default { data () { return { addons: [], - faqs: require('./help/help-faq-defs.json'), - qstart: require('./help/help-qstart-defs.json') + faqs: require('@/assets/definitions/help/help-faq-defs.json'), + qstart: require('@/assets/definitions/help/help-qstart-defs.json') } }, computed: {